Merge pull request 'cli: fixed run vm not working with url' (#667) from Qubasa-main into main
This commit is contained in:
@@ -252,9 +252,6 @@ def run_vm(
|
|||||||
# TODO: We should get this from the vm argument
|
# TODO: We should get this from the vm argument
|
||||||
nixos_config = get_vm_create_info(vm, nix_options)
|
nixos_config = get_vm_create_info(vm, nix_options)
|
||||||
|
|
||||||
flake_dir = Path(vm.flake_url)
|
|
||||||
flake_dir.mkdir(exist_ok=True)
|
|
||||||
|
|
||||||
with tempfile.TemporaryDirectory() as tmpdir_:
|
with tempfile.TemporaryDirectory() as tmpdir_:
|
||||||
tmpdir = Path(tmpdir_)
|
tmpdir = Path(tmpdir_)
|
||||||
xchg_dir = tmpdir / "xchg"
|
xchg_dir = tmpdir / "xchg"
|
||||||
|
|||||||
Reference in New Issue
Block a user