mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 10:28:41 -05:00
Merge pull request #233 from puppetlabs/fix-template-delta-script
(maint) Update template delta script for moved vsphere credentials
This commit is contained in:
commit
03e8933d2b
1 changed files with 3 additions and 3 deletions
|
|
@ -22,9 +22,9 @@ def create_template_deltas( folder )
|
||||||
abort 'No config file (./vmpooler.yaml or ~/.vmpooler) found!' unless config
|
abort 'No config file (./vmpooler.yaml or ~/.vmpooler) found!' unless config
|
||||||
|
|
||||||
vim = RbVmomi::VIM.connect(
|
vim = RbVmomi::VIM.connect(
|
||||||
:host => config[ :vsphere ][ "server" ],
|
:host => config[ :providers ][ :vsphere ][ "server" ],
|
||||||
:user => config[ :vsphere ][ "username" ],
|
:user => config[ :providers ][ :vsphere ][ "username" ],
|
||||||
:password => config[ :vsphere ][ "password" ],
|
:password => config[ :providers ][ :vsphere ][ "password" ],
|
||||||
:ssl => true,
|
:ssl => true,
|
||||||
:insecure => true,
|
:insecure => true,
|
||||||
) or abort "Unable to connect to #{config[ :vsphere ][ "server" ]}!"
|
) or abort "Unable to connect to #{config[ :vsphere ][ "server" ]}!"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue