X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FTestNode.py;h=37c4dd7314c62f2a0f7d93178f0b502971620c27;hb=76bb4f6e5ed0dd8993334bf1488c9bc22311a48c;hp=cdbf071b7c7a788be68c46cb9e87bc5d35390b77;hpb=c8e2f4e3a327181b29521583770a6f0ff68ca6eb;p=tests.git diff --git a/system/TestNode.py b/system/TestNode.py index cdbf071..37c4dd7 100644 --- a/system/TestNode.py +++ b/system/TestNode.py @@ -217,7 +217,7 @@ class TestNode: print "dry_run: skipped actual storage of qemu.conf" return True utils.header('Storing qemu config for {} in {}'.format(self.name(), conf_filename)) - with open(conf_filename,'w') as f: + with open(conf_filename,'w') as file: file.write('MACADDR={}\n'.format(mac)) file.write('NODE_ISO={}.iso\n'.format(self.name())) file.write('HOSTNAME={}\n'.format(hostname))