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