aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/subsystem/virtual/instance.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/subsystem/virtual/instance.pp b/manifests/subsystem/virtual/instance.pp
index 0f1b2c1..391722b 100644
--- a/manifests/subsystem/virtual/instance.pp
+++ b/manifests/subsystem/virtual/instance.pp
@@ -6,6 +6,7 @@ define nodo::subsystem::virtual::instance(
$size = '10G',
$ensure = 'running',
$implementation = 'kvmx',
+ $shell = undef,
$proxy = false,
$web = false,
$gitd = false,
@@ -35,7 +36,11 @@ define nodo::subsystem::virtual::instance(
if $implementation == 'kvmx' {
virtual::kvm::instance { $name:
- udev => $udev,
+ udev => $udev,
+ shell => $shell ? {
+ undef => '/usr/local/bin/kvmx-shell',
+ default => $shell,
+ },
}
}