diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-11 16:11:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-11 16:11:09 -0300 |
commit | f2da08baf6042c3931617ce348e04401fabe385e (patch) | |
tree | b0a63cf3fcf886a8f92fdc6c0a521a225b1a66d2 /manifests/kvm/kvmx | |
parent | a324c9c0840733903f45c5baaf05ba9388d6237b (diff) | |
download | puppet-virtual-f2da08baf6042c3931617ce348e04401fabe385e.tar.gz puppet-virtual-f2da08baf6042c3931617ce348e04401fabe385e.tar.bz2 |
KVM: image, interface handling and other improvements
Diffstat (limited to 'manifests/kvm/kvmx')
-rw-r--r-- | manifests/kvm/kvmx/instance.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/kvm/kvmx/instance.pp b/manifests/kvm/kvmx/instance.pp index c8c7d31..b0b30ba 100644 --- a/manifests/kvm/kvmx/instance.pp +++ b/manifests/kvm/kvmx/instance.pp @@ -3,11 +3,13 @@ define virtual::kvm::kvmx::instance( $size, $ram, $shell, + $iface, $udev = false, - $supervise = 1, + $supervise = '1', ) { virtual::kvm::instance { $name: udev => $udev, + iface => $iface, shell => $shell ? { undef => '/usr/local/bin/kvmx-restricted-shell', default => $shell, |