summaryrefslogtreecommitdiff
path: root/v-i
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-01-10 08:21:19 +0200
committerLars Wirzenius <liw@liw.fi>2022-01-10 10:20:34 +0200
commit4d26ee3ce9b00f33e31090f329ab997934b172d5 (patch)
tree341796fd63a8967452e47eb24d1b90f7ee3faeff /v-i
parent087b65ebe2e81ed51f1796a999d06485bb84a712 (diff)
downloadv-i-4d26ee3ce9b00f33e31090f329ab997934b172d5.tar.gz
feat: add extra LVs to fstab
This allows the v-i spec file to specify extra LVs to create an mount. Sponsored-by: author
Diffstat (limited to 'v-i')
-rwxr-xr-xv-i1
1 files changed, 1 insertions, 0 deletions
diff --git a/v-i b/v-i
index 2f613a7..e695175 100755
--- a/v-i
+++ b/v-i
@@ -315,6 +315,7 @@ def vmdb_spec(system, ansible_vars):
[
lvcreate("vg0", lv["name"], lv["size"]),
mkfs(lv["name"], "ext4"),
+ mount(lv["name"], dirname=lv["mounted"], mount_on="root"),
]
)