vms/create: allow xchg/secrets dir to exist
This commit is contained in:
parent
cb87ccbfc4
commit
60721e442d
@ -77,9 +77,9 @@ class BuildVmTask(BaseTask):
|
||||
flake_dir.mkdir(exist_ok=True)
|
||||
|
||||
xchg_dir = flake_dir / "xchg"
|
||||
xchg_dir.mkdir()
|
||||
xchg_dir.mkdir(exist_ok=True)
|
||||
secrets_dir = flake_dir / "secrets"
|
||||
secrets_dir.mkdir()
|
||||
secrets_dir.mkdir(exist_ok=True)
|
||||
disk_img = f"{flake_dir}/disk.img"
|
||||
|
||||
env = os.environ.copy()
|
||||
|
Loading…
Reference in New Issue
Block a user