Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Use dkinzer/ansible-dev-vm. #43

Merged
merged 1 commit into from
Nov 2, 2015
Merged

Use dkinzer/ansible-dev-vm. #43

merged 1 commit into from
Nov 2, 2015

Conversation

dkinzer
Copy link
Contributor

@dkinzer dkinzer commented Aug 16, 2015

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:

  • pulls down latest virtualbox image from dkinzer/ansible-dev-vm at atla for virtualbox use.
  • pulls down latest fusion image from dkinzer/ansible-dev-vm at atlas for fusion use.

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

Another possibility is to update the README with instructions for using
this image.
@acouch
Copy link
Contributor

acouch commented Oct 23, 2015

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
Copy link
Contributor

acouch commented Oct 23, 2015

But it actually isn't an issue: hashicorp/vagrant#3904

@dkinzer dkinzer closed this Oct 25, 2015
@dkinzer dkinzer deleted the use-dkinzer-ansible-dev-vm branch October 25, 2015 20:05
@acouch acouch restored the use-dkinzer-ansible-dev-vm branch November 2, 2015 22:22
@acouch acouch reopened this Nov 2, 2015
acouch added a commit that referenced this pull request Nov 2, 2015
@acouch acouch merged commit b1a3b89 into master Nov 2, 2015
@acouch acouch deleted the use-dkinzer-ansible-dev-vm branch November 2, 2015 22:22
@dkinzer
Copy link
Contributor Author

dkinzer commented Nov 2, 2015

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
Copy link
Contributor

acouch commented Nov 4, 2015

@dkinzer can you make a ticket?

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

Successfully merging this pull request may close these issues.

2 participants