aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/defaults
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-15 17:56:41 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2004-03-15 17:56:41 +0000
commit784905204897c004a990a25aed49dcccb6e2da54 (patch)
treea0de0dc03705b308ec662fbaf70748661abb9496 /tools/examples/defaults
parent58ae7777f2bc2910ae57900e33a20fc7ef1e3b7f (diff)
downloadxen-784905204897c004a990a25aed49dcccb6e2da54.tar.gz
xen-784905204897c004a990a25aed49dcccb6e2da54.tar.bz2
xen-784905204897c004a990a25aed49dcccb6e2da54.zip
bitkeeper revision 1.800 (4055ee59_zI1OKOsC2EKXBIYFm3OtA)
console_client.py, __init__.py, setup.py, Makefile: new file Many files: New console-terminal client in xenctl.console_client Python package. New option to xc_dom_create (-c on cmdline or auto_console in defaults file) to automatically become a console client. utils.py: Rename: tools/xc/py/XenoUtil.py -> tools/xenctl/lib/utils.py
Diffstat (limited to 'tools/examples/defaults')
-rw-r--r--tools/examples/defaults8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/examples/defaults b/tools/examples/defaults
index 8852094eea..9f1a7874ab 100644
--- a/tools/examples/defaults
+++ b/tools/examples/defaults
@@ -42,8 +42,8 @@ domain_name = "This is VM %d" % vmid
# appropriately.
#vfr_ipaddr = ["111.222.333.444","222.333.444.555"]
-vfr_ipaddr = [XenoUtil.add_offset_to_ip(XenoUtil.get_current_ipaddr(),vmid),
- XenoUtil.add_offset_to_ip('169.254.1.0',vmid),]
+vfr_ipaddr = [xenctl.utils.add_offset_to_ip(xenctl.utils.get_current_ipaddr(),vmid),
+ xenctl.utils.add_offset_to_ip('169.254.1.0',vmid),]
# STEP 5a. Identify any physcial partitions or virtual disks you want the
@@ -72,8 +72,8 @@ vbd_expert = 0
# You can use 'extrabit' to set the runlevel and custom environment
# variables used by custom rc scripts (e.g. VMID=, usr= )
-netmask = XenoUtil.get_current_ipmask()
-gateway = XenoUtil.get_current_ipgw()
+netmask = xenctl.utils.get_current_ipmask()
+gateway = xenctl.utils.get_current_ipgw()
nfsserv = '169.254.1.0'
cmdline_ip = "ip="+vfr_ipaddr[0]+":"+nfsserv+":"+gateway+":"+netmask+"::eth0:off"