mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #-: fix minor bug in provision create (#4706)
This commit is contained in:
parent
ccd1b5c8eb
commit
02d530d33f
@ -354,10 +354,10 @@ module OneProvision
|
||||
dfile = Utils.create_deployment_file(erb, @id, @name)
|
||||
playbooks = cfg['playbook']
|
||||
|
||||
playbooks.join(',') if playbooks.is_a? Array
|
||||
|
||||
host = Host.new
|
||||
host = host.create(dfile.to_xml,
|
||||
cid.to_i,
|
||||
playbooks.join(','))
|
||||
host = host.create(dfile.to_xml, cid.to_i, playbooks)
|
||||
|
||||
@hosts << host
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user