-few modifications to automated test tools

-add all distributions to run.sh script
-change the bridge adapter to eth0
This commit is contained in:
Martin Konecny 2011-11-20 20:32:39 -05:00
parent dd45930da1
commit ddd430be84
2 changed files with 7 additions and 1 deletions

View file

@ -96,9 +96,14 @@ def create_fresh_os(vm_name, update_virtualenv=False, debian=False):
local("VBoxManage modifyvm %s --snapshotfolder %s"%(vm_name, vdi_snapshot_dir))
local("VBoxManage snapshot %s take fresh_install"%vm_name)
local("touch %s/vm_registered"%vdi_dir)
local('VBoxManage snapshot %s restore fresh_install'%vm_name)
local('VBoxManage modifyvm "%s" --bridgeadapter1 eth0'%vm_name)
local('VBoxManage startvm %s'%vm_name)
print "Please wait while attempting to acquire IP address"