aboutsummaryrefslogtreecommitdiff
path: root/manifests/kvm/kvmx
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-10 14:59:06 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-10 14:59:06 -0300
commit924d176b3fe76f15a16aa0623909eec08ab920b2 (patch)
treed2cc2ee8a2a86f556b35c96600edae46feacaada /manifests/kvm/kvmx
parente782bd3b16acb41948f7386add8af6902b21f741 (diff)
downloadpuppet-virtual-924d176b3fe76f15a16aa0623909eec08ab920b2.tar.gz
puppet-virtual-924d176b3fe76f15a16aa0623909eec08ab920b2.tar.bz2
KVMX: version bump and image path config
Diffstat (limited to 'manifests/kvm/kvmx')
-rw-r--r--manifests/kvm/kvmx/instance.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/kvm/kvmx/instance.pp b/manifests/kvm/kvmx/instance.pp
index edbab91..6b19f3a 100644
--- a/manifests/kvm/kvmx/instance.pp
+++ b/manifests/kvm/kvmx/instance.pp
@@ -40,4 +40,10 @@ define virtual::kvm::kvmx::instance(
param => 'size',
value => $size,
}
+
+ virtual::kvm::kvmx::config { "${name}-image":
+ vm => $name,
+ param => 'image',
+ value => "\$HOME/vms/${name}/box.img",
+ }
}