mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
makebuildserver prune gloabal vagrant status when purging broken VMs
This commit is contained in:
parent
8cfd3ca770
commit
2aa5523011
1 changed files with 2 additions and 1 deletions
|
@ -304,6 +304,7 @@ def destroy_current_image(v, serverdir):
|
|||
v.destroy()
|
||||
elif options.verbose:
|
||||
print('Cannot run destroy vagrant setup since Vagrantfile.yaml is not setup!')
|
||||
subprocess.check_call(['vagrant', 'global-status', '--prune'])
|
||||
|
||||
try:
|
||||
shutil.rmtree(os.path.join(serverdir, '.vagrant'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue