tools/deploy-qemu: use default temp dir location
Previously, the temporary directory was created in the script dir. It just imo created unnecessary and confusing files in my git checkout. Let's just use the default temporary directory because we don't really have special needs for it. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
1eb51b7bab
commit
99d1d4e5d0
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ userdata = sys.argv[2]
|
|||
qemu_extra_args = os.getenv("QEMU_EXTRA_ARGS")
|
||||
qemu_extra_args = qemu_extra_args.split(' ') if qemu_extra_args is not None else []
|
||||
|
||||
with tempfile.TemporaryDirectory(prefix="qemu-tmp-", dir=script_dir) as workdir:
|
||||
with tempfile.TemporaryDirectory(prefix="qemu-tmp-") as workdir:
|
||||
os.mkdir(os.path.join(workdir, "cidata"))
|
||||
|
||||
if os.path.isdir(userdata):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue