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:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user