From 71381946e1930673b72e4ed388939b771d0ebcf1 Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Fri, 22 Nov 2024 10:36:30 +0100 Subject: [PATCH] ct create: bugfix hash2cnfstr. (expects "**options", older versions were working also with "*") --- lib/pve/proxmox.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pve/proxmox.rb b/lib/pve/proxmox.rb index 38f2241..0f8201b 100644 --- a/lib/pve/proxmox.rb +++ b/lib/pve/proxmox.rb @@ -701,7 +701,7 @@ module Proxmox #}.map {|k,v| "#{k}=#{v}" }.join( ','), swap: tmplt.swap, unprivileged: tmplt.unprivileged, - features: tmplt.features ? Proxmox::hash2cnfstr( *tmplt.features) : nil, + features: tmplt.features ? Proxmox::hash2cnfstr( **tmplt.features) : nil, }.delete_if {|k,v| v.nil? } temp = LXC.send :__new__, node: node, vmid: options[:vmid], name: name, hostname: options[:hostname]