summaryrefslogtreecommitdiff
path: root/v-i
diff options
context:
space:
mode:
Diffstat (limited to 'v-i')
-rwxr-xr-xv-i7
1 files changed, 3 insertions, 4 deletions
diff --git a/v-i b/v-i
index 192d70d..7fa7142 100755
--- a/v-i
+++ b/v-i
@@ -301,10 +301,8 @@ def vmdb_spec(system, ansible_vars):
# Create a 20 gigabyte LV for the root file system. That's big
# enough for a desktop system.
lvcreate("vg0", "root", "20G"),
- # format the root file system. This gets a fair bit of use, so
- # ext4 seems like a safe choice. If you wanted another file
- # system, sorry.
- mkfs("root", "btrfs"),
+ # format the root file system.
+ mkfs("root", system.root_fstype),
# Mount the root file system.
mount("root"),
# Mount /boot on top of the root file system.
@@ -394,6 +392,7 @@ class SystemSpec:
"ansible_vars_files": [],
"luks": "",
"debian_release": "bullseye",
+ "root_fstype": "ext4",
}
with open(filename) as f:
obj = yaml.safe_load(f)