NuCivic / ansible-dev-vm

8 stars 5 forks source link

Use dkinzer/ansible-dev-vm. #43

Closed dkinzer closed 8 years ago

dkinzer commented 8 years ago

This is now a fully provisioned image using this very playbook.

Another possibility is to update the README with instructions for using this image. There is no reference ticket for this.

Acceptance tests:

acouch commented 8 years ago

When I try with vmware I get:

The HGFS kernel module was not found on the running virtual machine. This must be installed for shared folders to work properly. Please install the VMware tools within the guest and try again. Note that the VMware tools installation will succeed even if HGFS fails to properly install. Carefully read the output of the VMware tools installation to verify the HGFS kernel modules were installed properly.

After:

vagrant up --provider vmware_fusion
Bringing machine 'nucvicdev' up with 'vmware_fusion' provider...
==> nucvicdev: Box 'dkinzer/ansible-dev-vm' could not be found. Attempting to find and install...
    nucvicdev: Box Provider: vmware_desktop, vmware_fusion, vmware_workstation
    nucvicdev: Box Version: >= 0
==> nucvicdev: Loading metadata for box 'dkinzer/ansible-dev-vm'
    nucvicdev: URL: https://atlas.hashicorp.com/dkinzer/ansible-dev-vm
==> nucvicdev: Adding box 'dkinzer/ansible-dev-vm' (v0.0.4) for provider: vmware_desktop
    nucvicdev: Downloading: https://atlas.hashicorp.com/dkinzer/boxes/ansible-dev-vm/versions/0.0.4/providers/vmware_desktop.box
==> nucvicdev: Successfully added box 'dkinzer/ansible-dev-vm' (v0.0.4) for 'vmware_desktop'!
==> nucvicdev: Cloning VMware VM: 'dkinzer/ansible-dev-vm'. This can take some time...
==> nucvicdev: Checking if box 'dkinzer/ansible-dev-vm' is up to date...
==> nucvicdev: Verifying vmnet devices are healthy...
==> nucvicdev: Pruning invalid NFS exports. Administrator privileges will be required...
Password:
==> nucvicdev: Preparing network adapters...
==> nucvicdev: Starting the VMware VM...
==> nucvicdev: Waiting for machine to boot. This may take a few minutes...
    nucvicdev: SSH address: 192.168.255.147:22
    nucvicdev: SSH username: vagrant
    nucvicdev: SSH auth method: private key
    nucvicdev:
    nucvicdev: Vagrant insecure key detected. Vagrant will automatically replace
    nucvicdev: this with a newly generated keypair for better security.
    nucvicdev:
    nucvicdev: Inserting generated public key within guest...
    nucvicdev: Removing insecure key from the guest if its present...
    nucvicdev: Key inserted! Disconnecting and reconnecting using new SSH key...
==> nucvicdev: Machine booted and ready!
==> nucvicdev: Forwarding ports...
    nucvicdev: -- 22 => 2222
==> nucvicdev: Setting hostname...
==> nucvicdev: Configuring network adapters within the VM...
==> nucvicdev: Installing NFS client...
==> nucvicdev: Exporting NFS shared folders...
==> nucvicdev: Preparing to edit /etc/exports. Administrator privileges will be required...
==> nucvicdev: Mounting NFS shared folders...
==> nucvicdev: Waiting for HGFS kernel module to load...
The HGFS kernel module was not found on the running virtual machine.
This must be installed for shared folders to work properly. Please
install the VMware tools within the guest and try again. Note that
the VMware tools installation will succeed even if HGFS fails
to properly install. Carefully read the output of the VMware tools
installation to verify the HGFS kernel modules were installed properly.
acouch commented 8 years ago

But it actually isn't an issue: https://github.com/mitchellh/vagrant/issues/3904

dkinzer commented 8 years ago

Cool. I think now that this is merged we should create a jenkins cron that updates the image every time the playbook gets updated.

acouch commented 8 years ago

@dkinzer can you make a ticket?