do not mention path for bootcd in vmx file
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 11 Dec 2007 13:12:22 +0000 (13:12 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 11 Dec 2007 13:12:22 +0000 (13:12 +0000)
system/TestNode.py

index db49ff7..0e21196 100644 (file)
@@ -65,7 +65,7 @@ class TestNode:
     def conffile(self,image,hostname,path):
         template='%s/template-vmplayer/node.vmx'%(path)
         actual='%s/vmplayer-%s/node.vmx'%(path,hostname)
-        sed_command="sed -e s,@BOOTCD@,%s/%s,g %s > %s"%(path,image,template,actual)
+        sed_command="sed -e s,@BOOTCD@,%s,g %s > %s"%(image,template,actual)
         utils.header('Creating %s from %s'%(actual,template))
         os.system('set -x; ' + sed_command)