1
0
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:
Alejandro Huertas Herrero 2020-05-12 13:02:50 +02:00 committed by GitHub
parent ccd1b5c8eb
commit 02d530d33f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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