2008-09-25 01:20:56 +02:00
|
|
|
Index: xen-3.3.1-testing/tools/python/xen/xm/create.py
|
2007-01-16 00:42:10 +01:00
|
|
|
===================================================================
|
2008-09-25 01:20:56 +02:00
|
|
|
--- xen-3.3.1-testing.orig/tools/python/xen/xm/create.py
|
|
|
|
+++ xen-3.3.1-testing/tools/python/xen/xm/create.py
|
2008-11-08 20:32:12 +01:00
|
|
|
@@ -1081,9 +1081,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':
|
2008-07-19 01:04:37 +02:00
|
|
|
- dummy_nfs_server = '127.0.255.255'
|
2007-01-16 00:42:10 +01:00
|
|
|
ip = (vals.ip
|
|
|
|
- + ':' + (vals.nfs_server or dummy_nfs_server)
|
|
|
|
+ + ':' + (vals.nfs_server or '')
|
|
|
|
+ ':' + vals.gateway
|
|
|
|
+ ':' + vals.netmask
|
|
|
|
+ ':' + vals.hostname
|