summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-02-16 19:04:00 +0200
committerLars Wirzenius <liw@liw.fi>2022-06-21 16:04:32 +0300
commit56d4f5605724931e7ce5c58f5783b3cf6d98feff (patch)
treea2da2eb094450543b211dab5573e5c22540de088
parentbe31f03edaccc91e2e12086178cd2442c6dfb2d4 (diff)
downloadv-i-56d4f5605724931e7ce5c58f5783b3cf6d98feff.tar.gz
refactor: mount root earlier
Sponsored-by: author
-rwxr-xr-xv-i4
1 files 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