tools: cleanup temporary files after qvm-template-postprocess
This commit is contained in:
parent
336807e8da
commit
b895015274
@ -216,6 +216,9 @@ def post_install(args):
|
||||
if not args.skip_start:
|
||||
yield from call_postinstall_service(vm)
|
||||
|
||||
if not args.keep_source:
|
||||
shutil.rmtree(args.dir)
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user