]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Use virtual::kvm::kvmx::instance
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 31 Dec 2017 20:16:43 +0000 (18:16 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 31 Dec 2017 20:16:43 +0000 (18:16 -0200)
manifests/subsystem/virtual/instance.pp

index 9e5d67ab022d57212f3fae10968c3a56716f9745..deb4792535bc4f1175011486a74cd2abfa52a080 100644 (file)
@@ -35,12 +35,11 @@ define nodo::subsystem::virtual::instance(
   }
 
   if $implementation == 'kvmx' {
-    virtual::kvm::instance { $name:
+    virtual::kvm::kvmx::instance { $name:
+      size  => $size,
+      ram   => $ram,
       udev  => $udev,
-      shell => $shell ? {
-        undef   => '/usr/local/bin/kvmx-restricted-shell',
-        default => $shell,
-      },
+      shell => $shell,
     }
   }