From 56d4f5605724931e7ce5c58f5783b3cf6d98feff Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 16 Feb 2022 19:04:00 +0200 Subject: refactor: mount root earlier Sponsored-by: author --- v-i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v-i b/v-i index c8beaaf..f166e8b 100755 --- a/v-i +++ b/v-i @@ -299,6 +299,8 @@ def vmdb_spec(system, ansible_vars): # ext4 seems like a safe choice. If you wanted another file # system, sorry. mkfs("root", "ext4"), + # Mount the root file system. + mount("root"), ] ) @@ -314,8 +316,6 @@ def vmdb_spec(system, ansible_vars): steps.extend( [ - # Mount the root file system. - mount("root"), # If we have a cached version of the installed system, unpack # it now. Otherwise do nothing. Note that if you make any # changes to the steps marked "unless: rootfs_unpacked", you -- cgit v1.2.1