1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

rm -f ./state/empty-hd.img before running qemu

This commit is contained in:
Ivan Mikushin
2015-05-10 15:32:53 +05:00
parent 99cca7be16
commit 2603fd2ba9

View File

@@ -4,7 +4,7 @@ import time
def run_qemu(request, run_args=[]): def run_qemu(request, run_args=[]):
subprocess.check_call('rm ./state/*', shell=True) subprocess.check_call('rm -f ./state/empty-hd.img', shell=True)
print('\nrm ./state/*') print('\nrm ./state/*')
print('\nStarting QEMU') print('\nStarting QEMU')
p = subprocess.Popen(['./scripts/run'] + run_args, p = subprocess.Popen(['./scripts/run'] + run_args,