Use vm/ instead of the hidden .vm/ as the default state directory
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2fe0d568ce
commit
69e2141b7c
7 files changed
+32
-32
No files matched your search
+3
-3
@@ -53,7 +53,7 @@ else:
|
||||
base_image = Path(result.stdout.rstrip("\n"))
|
||||
uses_shared_base_image = True
|
||||
|
||||
state_dir = Path(env("FEDORA_VM_STATE_DIR") or script_dir / ".vm" / "fedora44")
|
||||
state_dir = Path(env("FEDORA_VM_STATE_DIR") or script_dir / "vm" / "fedora44")
|
||||
disk_size = env("FEDORA_VM_DISK_SIZE") or "20G"
|
||||
|
||||
|
||||
@@ -136,13 +136,13 @@ Options:
|
||||
--daemon Run in the background while keeping the graphical window
|
||||
--download-only Download the base image if it is missing, then exit
|
||||
--state-dir DIR Directory for the VM disk, seed ISO and runtime files
|
||||
(default: .vm/fedora44; overrides FEDORA_VM_STATE_DIR)
|
||||
(default: vm/fedora44; overrides FEDORA_VM_STATE_DIR)
|
||||
-h, --help Show this help
|
||||
|
||||
Environment variables:
|
||||
FEDORA_VM_BASE_IMAGE Base qcow2 image path (default: resolved by shared image helper)
|
||||
FEDORA_VM_SEED_IMAGE cloud-init seed ISO path (default: alongside the VM disk)
|
||||
FEDORA_VM_STATE_DIR Runtime state directory (default: .vm/fedora44)
|
||||
FEDORA_VM_STATE_DIR Runtime state directory (default: vm/fedora44)
|
||||
FEDORA_VM_DISK_IMAGE Writable overlay path
|
||||
FEDORA_VM_DISK_SIZE New overlay virtual capacity (default: 20G)
|
||||
VM_IMAGE_ARCH Guest/host architecture: arm64 or amd64 (default: auto-detected from the host)
|
||||
|
||||
Reference in new issue
Block a user