This commit is contained in:
Edward Hope-Morley 2015-02-11 15:48:19 +00:00
parent cade073c37
commit 977581b761

View File

@ -139,7 +139,7 @@ class PhyNICMTUContext(context.NeutronPortContext):
ctxt = {} ctxt = {}
port = config('phy-nics') port = config('phy-nics')
if port: if port:
ctxt = {"devs": port.replace(' ', '\n')} ctxt = {"devs": port.replace(' ', '\\n')}
mtu = config('phy-nic-mtu') mtu = config('phy-nic-mtu')
if mtu: if mtu:
ctxt['mtu'] = mtu ctxt['mtu'] = mtu