Blame SOURCES/cobbler-nic-dash.patch
|
|
1070a0 |
--- ./cobbler/item_system.py 2012-02-02 11:47:38.977405017 +0100
|
|
|
1070a0 |
+++ ./cobbler/item_system.py 2012-02-09 17:21:33.318228733 +0100
|
|
|
1070a0 |
@@ -574,7 +574,7 @@ class System(item.Item):
|
|
|
1070a0 |
Used by the WUI to modify an interface more-efficiently
|
|
|
1070a0 |
"""
|
|
|
1070a0 |
for (key,value) in hash.iteritems():
|
|
|
1070a0 |
- (field,interface) = key.split("-")
|
|
|
1070a0 |
+ (field,interface) = key.split("-", 1)
|
|
|
1070a0 |
field = field.replace("_","").replace("-","")
|
|
|
1070a0 |
if field == "macaddress" : self.set_mac_address(value, interface)
|
|
|
1070a0 |
if field == "mtu" : self.set_mtu(value, interface)
|
|
|
1070a0 |
|