summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/machine.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/machine.pp b/manifests/machine.pp
index a22855b..cb7c066 100644
--- a/manifests/machine.pp
+++ b/manifests/machine.pp
@@ -49,6 +49,10 @@ define nspawn::machine (
# TODO deep merge?
} + $nspawn_opts
+ systemd_mount { "/var/lib/machines/${machine}":
+ what => "/dev/VolGroup/vm-${machine}"
+ }
+
file { "/etc/systemd/nspawn/${machine}.nspawn":
ensure => file,
content => epp('nspawn/unit_file.epp', {