ct create: bugfix hash2cnfstr. (expects "**options", older versions were working also with "*")
This commit is contained in:
parent
b7610df328
commit
71381946e1
|
@ -701,7 +701,7 @@ module Proxmox
|
||||||
#}.map {|k,v| "#{k}=#{v}" }.join( ','),
|
#}.map {|k,v| "#{k}=#{v}" }.join( ','),
|
||||||
swap: tmplt.swap,
|
swap: tmplt.swap,
|
||||||
unprivileged: tmplt.unprivileged,
|
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? }
|
}.delete_if {|k,v| v.nil? }
|
||||||
|
|
||||||
temp = LXC.send :__new__, node: node, vmid: options[:vmid], name: name, hostname: options[:hostname]
|
temp = LXC.send :__new__, node: node, vmid: options[:vmid], name: name, hostname: options[:hostname]
|
||||||
|
|
Loading…
Reference in a new issue