Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `[]' for nil:NilClass after setting host name #280

Open
jkugler opened this issue Mar 22, 2019 · 0 comments
Open

undefined method `[]' for nil:NilClass after setting host name #280

jkugler opened this issue Mar 22, 2019 · 0 comments

Comments

@jkugler
Copy link

jkugler commented Mar 22, 2019

Possibly related to #124, which was closed.
I am getting this with vagrant-vsphere 1.13.2 and vagrant 2.2.4. This is what I get in my test kichen output:

-----> Creating <source-centos-6-bento>...
       Bringing machine 'default' up with 'vsphere' provider...
       ==> default: Calling vSphere CloneVM with the following settings:
       ==> default:  -- Template VM: B5 Lab - Folder/vm/CICD/bento-centos-6.10-x86_64-LATEST
       ==> default:  -- Target VM: B5 Lab - Folder/vm/CICD/source-centos-6-bento-app-access-1551294901-dc
       ==> default: New virtual machine successfully cloned
       ==> default: Waiting for the machine to report its IP address...
           default: Timeout: 240 seconds
           default: IP: 10.199.251.66
       ==> default: Waiting for machine to boot. This may take a few minutes...
           default: SSH address: 10.199.251.66:22
           default: SSH username: vagrant
           default: SSH auth method: private key
           default: 
           default: Vagrant insecure key detected. Vagrant will automatically replace
           default: this with a newly generated keypair for better security.
           default: 
           default: Inserting generated public key within guest...
           default: Removing insecure key from the guest if it's present...
           default: Key inserted! Disconnecting and reconnecting using new SSH key...
       ==> default: Machine booted and ready!
       ==> default: Setting hostname...
       undefined method `[]' for nil:NilClass

What would be the best way to go about debugging this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant