Open janette opened 9 years ago
Upgraded: macOS: 10.10.5 XQuartz: 2.7.8 vmware: 6.0.6 xcode: 7.1
_Attempt to create a new vm_ git clone the repo into 'ansible-vm' copy config.yml.sample to config.yml vagrant provision ==> nucvicdev: VM not created. Moving on...
sudo rm /etc/exports
sudo touch /etc/exports
exit
vagrant halt
vagrant up --provision
result:
NFS is reporting that your exports file is invalid. Vagrant does
this check before making any changes to the file. Please correct
the issues below and execute "vagrant reload":
exports:2: path contains non-directory or non-existent components: /Users/janette/nuams-vm/www
exports:2: no usable directories in export entry
exports:2: using fallback (marked offline): /
exports:5: path contains non-directory or non-existent components: /Users/janette/nucivic/www
exports:5: no usable directories in export entry
exports:5: using fallback (marked offline): /
exports:8: path contains non-directory or non-existent components: /Users/janette/nuams-vm2/www
exports:8: no usable directories in export entry
exports:8: using fallback (marked offline): /
these are old vm directories that I've deleted
2nd attempt at creating a new vm
jday:ansible-vm janette$ vagrant up --provision
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://vagrantcloud.com/dkinzer/ansible-dev-vm
==> nucvicdev: Adding box 'dkinzer/ansible-dev-vm' (v0.0.4) for provider: vmware_desktop
nucvicdev: Downloading: https://vagrantcloud.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: Preparing network adapters...
==> nucvicdev: Fixed port collision for 22 => 2222. Now on port 2200.
==> nucvicdev: Starting the VMware VM...
==> nucvicdev: Waiting for machine to boot. This may take a few minutes...
nucvicdev: SSH address: 192.168.2.139:22
nucvicdev: SSH username: vagrant
nucvicdev: SSH auth method: private key
==> nucvicdev: Machine booted and ready!
==> nucvicdev: Forwarding ports...
nucvicdev: -- 22 => 2200
==> nucvicdev: Setting hostname...
==> nucvicdev: Configuring network adapters within the VM...
==> nucvicdev: Installing NFS client...
==> nucvicdev: Exporting NFS shared folders...
NFS is reporting that your exports file is invalid. Vagrant does
this check before making any changes to the file. Please correct
the issues below and execute "vagrant reload":
exports:2: path contains non-directory or non-existent components: /Users/janette/nuams-vm/www
exports:2: no usable directories in export entry
exports:2: using fallback (marked offline): /
exports:5: path contains non-directory or non-existent components: /Users/janette/nucivic/www
exports:5: no usable directories in export entry
exports:5: using fallback (marked offline): /
exports:8: path contains non-directory or non-existent components: /Users/janette/nuams-vm2/www
exports:8: no usable directories in export entry
exports:8: using fallback (marked offline): /
So provisioning worked but we would still like this image to be bigger. I'll address that with a change to the packer instructions.
@janette are you making this in a new directory or the same one?
Lets do this in Pluto https://github.com/NuCivic/pluto/issues/106
_error on vagrant provision_
_unable to resize vm_ • currently 19G, only 3G available which causes mysql to crash often • running apt-get -f install from above errors due to size problem (No space left on device)