cloudfoundry-community / cyoi

Choose Your Own Infrastructure
MIT License
3 stars 4 forks source link

Error creating project for vSphere infrastructure #32

Open phopper-pivotal opened 7 years ago

phopper-pivotal commented 7 years ago

get this error when generating a vpshere project.

/usr/local/lib/ruby/gems/2.2.0/gems/cyoi-0.11.3/lib/cyoi/cli/providers/provider_cli_vsphere.rb:22:in setup_credentials': undefined local variable or methodh1' for # (NameError) from /usr/local/lib/ruby/gems/2.2.0/gems/cyoi-0.11.3/lib/cyoi/cli/providers/provider_cli_vsphere.rb:6:in perform_and_return_attributes' from /usr/local/lib/ruby/gems/2.2.0/gems/cyoi-0.11.3/lib/cyoi/cli/provider.rb:18:inexecute!'

credentials["vsphere_server"] = hl.ask("Server: ").to_s unless credentials.exists?("vsphere_server")
credentials["vsphere_expected_pubkey_hash"] = hl.ask("Expected public key hash: ").to_s unless credentials.exists?("vsphere_expected_pubkey_hash")

2nd line here uses h1 with a lower-case L

phopper-pivotal commented 7 years ago

looks like its been fixed but not in respects to gem install cyoi - still uses hl instead of h1.