summaryrefslogtreecommitdiff
path: root/manifests/machine.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/machine.pp')
-rw-r--r--manifests/machine.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/machine.pp b/manifests/machine.pp
index cb7c066..de6d848 100644
--- a/manifests/machine.pp
+++ b/manifests/machine.pp
@@ -49,7 +49,10 @@ define nspawn::machine (
# TODO deep merge?
} + $nspawn_opts
- systemd_mount { "/var/lib/machines/${machine}":
+ exec { "lvcreate -n vm-${machine} -V 100G --thinpool lvpoolData VolGroup":
+ creates => "/dev/VolGroup/vm-${machine}",
+ path => ['/usr/bin',],
+ } -> systemd_mount { "/var/lib/machines/${machine}":
what => "/dev/VolGroup/vm-${machine}"
}