ct create: bugfix hash2cnfstr. (expects "**options", older versions were working also with "*")

This commit is contained in:
Denis Knauf 2024-11-22 10:36:30 +01:00
parent b7610df328
commit 71381946e1

View file

@ -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]