Merge pull request #233 from puppetlabs/fix-template-delta-script

(maint) Update template delta script for moved vsphere credentials
This commit is contained in:
mattkirby 2017-08-02 15:02:30 -07:00 committed by GitHub
commit 03e8933d2b

View file

@ -22,9 +22,9 @@ def create_template_deltas( folder )
abort 'No config file (./vmpooler.yaml or ~/.vmpooler) found!' unless config
vim = RbVmomi::VIM.connect(
:host => config[ :vsphere ][ "server" ],
:user => config[ :vsphere ][ "username" ],
:password => config[ :vsphere ][ "password" ],
:host => config[ :providers ][ :vsphere ][ "server" ],
:user => config[ :providers ][ :vsphere ][ "username" ],
:password => config[ :providers ][ :vsphere ][ "password" ],
:ssl => true,
:insecure => true,
) or abort "Unable to connect to #{config[ :vsphere ][ "server" ]}!"