2007-12-20 16:46:41 +01:00
|
|
|
Index: xen-3.2-testing/tools/python/xen/xm/create.py
|
2007-01-16 00:42:10 +01:00
|
|
|
===================================================================
|
2007-12-20 16:46:41 +01:00
|
|
|
--- xen-3.2-testing.orig/tools/python/xen/xm/create.py
|
|
|
|
+++ xen-3.2-testing/tools/python/xen/xm/create.py
|
2008-03-15 00:07:14 +01:00
|
|
|
@@ -897,9 +897,8 @@ def preprocess_access_control(vals):
|
2007-01-16 00:42:10 +01:00
|
|
|
|
|
|
|
def preprocess_ip(vals):
|
|
|
|
if vals.ip or vals.dhcp != 'off':
|
|
|
|
- dummy_nfs_server = '1.2.3.4'
|
|
|
|
ip = (vals.ip
|
|
|
|
- + ':' + (vals.nfs_server or dummy_nfs_server)
|
|
|
|
+ + ':' + (vals.nfs_server or '')
|
|
|
|
+ ':' + vals.gateway
|
|
|
|
+ ':' + vals.netmask
|
|
|
|
+ ':' + vals.hostname
|