diff options
Diffstat (limited to 'v-i')
-rwxr-xr-x | v-i | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) |