2012-09-17 17:49:23 +02:00
|
|
|
Index: xen-4.2.0-testing/tools/python/xen/xm/create.py
|
2007-01-16 00:42:10 +01:00
|
|
|
===================================================================
|
2012-09-17 17:49:23 +02:00
|
|
|
--- xen-4.2.0-testing.orig/tools/python/xen/xm/create.py
|
|
|
|
+++ xen-4.2.0-testing/tools/python/xen/xm/create.py
|
|
|
|
@@ -1342,9 +1342,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
|