Merge pull request #145 from frozenfoxx/patch-1

Updated YAML config variables in create_template_deltas.rb
This commit is contained in:
Scott Schneider 2016-01-06 10:05:59 -08:00
commit b79c3bfb75

View file

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