mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Merge pull request #145 from frozenfoxx/patch-1
Updated YAML config variables in create_template_deltas.rb
This commit is contained in:
commit
b79c3bfb75
1 changed files with 4 additions and 4 deletions
|
|
@ -22,12 +22,12 @@ 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[ :vsphere ][ "server" ],
|
||||
:user => config[ :vsphere ][ "username" ],
|
||||
:password => config[ :vsphere ][ "password" ],
|
||||
:ssl => true,
|
||||
:insecure => true,
|
||||
) or abort "Unable to connect to #{config[ :vsphere ][ :server ]}!"
|
||||
) or abort "Unable to connect to #{config[ :vsphere ][ "server" ]}!"
|
||||
|
||||
containerView = vim.serviceContent.viewManager.CreateContainerView( {
|
||||
:container => vim.serviceContent.rootFolder,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue