X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plnet.py;h=f12c1734271508098e89ba1fa2cad0777fbebfd6;hb=a8c7e65c89e1e44f0cceb9bbc7b20e5cd054c1a7;hp=c4cd5fc27b3e7ecc140d83f6218d28c15eb24b07;hpb=ca4782d1b17da03d731921c0ae3c5db6b3e9876a;p=pyplnet.git diff --git a/plnet.py b/plnet.py index c4cd5fc..f12c173 100755 --- a/plnet.py +++ b/plnet.py @@ -1,5 +1,4 @@ #!/usr/bin/python /usr/bin/plcsh -# $Id$ import os import socket @@ -267,7 +266,7 @@ def InitInterfaces(logger, plc, data, root="", files_only=False, program="NodeMa # print the configuration values for (key, val) in details.iteritems(): if key not in ('IFNAME','ALIAS','CFGOPTIONS','DRIVER','GATEWAY'): - f.write('%s=%s\n' % (key, val)) + f.write('%s="%s"\n' % (key, val)) # print the configuration specific option values (if any) if 'CFGOPTIONS' in details: