summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-23 19:11:56 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-23 19:11:56 +0200
commite237a1631220990cce1a31e03d36b9d23e6c5fbf (patch)
treee2e66272cfbbcc9b18be64520afc819711a4751d
parentfix (diff)
downloadnspawn-e237a1631220990cce1a31e03d36b9d23e6c5fbf.tar.gz
nspawn-e237a1631220990cce1a31e03d36b9d23e6c5fbf.tar.xz
fix
-rw-r--r--manifests/machine.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/machine.pp b/manifests/machine.pp
index fc45965..2b6ce97 100644
--- a/manifests/machine.pp
+++ b/manifests/machine.pp
@@ -56,7 +56,7 @@ define nspawn::machine (
unless $template == 'none' {
exec { "Initialize ${name} from template":
command => [
- 'btrfs', 'snapshot',
+ 'btrfs', 'subvolume', 'snapshot',
"${nspawn::template_dir}/${template}",
$root,
],