git://git.onelab.eu
/
pyplnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b46852
)
Don't quote the basic variables, apparently things like udev don't parse quotes.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Sun, 7 Dec 2008 17:45:52 +0000
(17:45 +0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Sun, 7 Dec 2008 17:45:52 +0000
(17:45 +0000)
plnet.py
patch
|
blob
|
history
diff --git
a/plnet.py
b/plnet.py
index
8abc0af
..
1410a0e
100755
(executable)
--- a/
plnet.py
+++ b/
plnet.py
@@
-207,12
+207,12
@@
def InitInterfaces(logger, plc, data, root="", files_only=False, program="NodeMa
f.write("# Autogenerated by pyplnet... do not edit!\n")
if 'DRIVER' in inter:
f.write("# using %s driver for device %s\n" % (inter['DRIVER'],dev))
f.write("# Autogenerated by pyplnet... do not edit!\n")
if 'DRIVER' in inter:
f.write("# using %s driver for device %s\n" % (inter['DRIVER'],dev))
- f.write('DEVICE=
"%s"
\n' % dev)
+ f.write('DEVICE=
%s
\n' % dev)
# print the configuration values
for (key, val) in inter.iteritems():
if key not in ('IFNAME','ALIAS','CFGOPTIONS','DRIVER'):
# print the configuration values
for (key, val) in inter.iteritems():
if key not in ('IFNAME','ALIAS','CFGOPTIONS','DRIVER'):
- 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 inter:
# print the configuration specific option values (if any)
if 'CFGOPTIONS' in inter: