-small fix to upgrade test script

This commit is contained in:
martin 2012-01-12 14:22:36 -05:00
parent d1de836a92
commit e8157d1f5d
2 changed files with 9 additions and 10 deletions

View file

@ -108,7 +108,7 @@ def create_fresh_os(vm_name, lucid=False, debian=False):
do_local('VBoxManage snapshot %s restore fresh_install'%vm_name)
do_local('VBoxManage modifyvm "%s" --bridgeadapter1 wlan0'%vm_name)
do_local('VBoxManage modifyvm "%s" --bridgeadapter1 eth0'%vm_name)
do_local('VBoxManage startvm %s'%vm_name)
print "Please wait while attempting to acquire IP address"
@ -139,8 +139,8 @@ def create_fresh_os(vm_name, lucid=False, debian=False):
#installed before.
do_sudo('echo "rabbitmq-server rabbitmq-server/upgrade_previous note" | debconf-set-selections')
#if debian:
#append('/etc/apt/sources.list', "deb http://www.debian-multimedia.org squeeze main non-free", use_sudo=True)
if debian:
append('/etc/apt/sources.list', "deb http://www.debian-multimedia.org squeeze main non-free", use_sudo=True)
def ubuntu_lucid_32(fresh_os=True):
if (fresh_os):
@ -189,7 +189,7 @@ def airtime_181_tar():
airtime_18x_tar("airtime", "1.8.1")
def airtime_182_tar():
airtime_18x_tar("airtime-1.8.2" "1.8.2")
airtime_18x_tar("airtime-1.8.2", "1.8.2")
def airtime_18x_tar(root_dir, version):
do_sudo('apt-get update')