tools: cleanup temporary files after qvm-template-postprocess

This commit is contained in:
Marek Marczykowski-Górecki 2017-09-05 03:57:55 +02:00
parent 336807e8da
commit b895015274
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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