Last active
December 15, 2015 08:19
-
-
Save Toady00/5229551 to your computer and use it in GitHub Desktop.
Issue using VMware Fusion Vagrant provider. Only works when prefixed with "sudo". Mac OS X 10.8.3
Vagrant 1.1.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ vagrant -v | |
Vagrant version 1.1.2 | |
~$ vagrant plugin install vagrant-vmware-fusion | |
Installing the 'vagrant-vmware-fusion' plugin. This can take a few minutes... | |
Installed the plugin 'vagrant-vmware-fusion (0.4.0)'! | |
~$ vagrant plugin license vagrant-vmware-fusion Dropbox/activation_codes/vagrant/license.lic | |
Installing license for 'vagrant-vmware-fusion'... | |
The license for 'vagrant-vmware-fusion' was successfully installed! | |
~$ vagrant plugin list | |
vagrant-aws (0.1.2) | |
vagrant-vmware-fusion (0.4.0) | |
~$ vagrant box add precise64 http://files.vagrantup.com/precise64_vmware_fusion.box | |
Downloading with Vagrant::Downloaders::HTTP... | |
Downloading box: http://files.vagrantup.com/precise64_vmware_fusion.box | |
Extracting box... | |
Cleaning up downloaded box... | |
Successfully added box 'precise64' with provider 'vmware_fusion'! | |
~/code/zk_testing$ vagrant up --provider=vmware_fusion | |
Bringing machine 'zk1' up with 'vmware_fusion' provider... | |
[zk1] VMware Fusion requires root privileges to make many of the changes | |
necessary for Vagrant to control it. In a moment, Vagrant will ask for | |
your administrator password in order to install a helper that will have | |
permissions to make these changes. Note that Vagrant itself continues | |
to run without administrative privileges. | |
Password: | |
[zk1] Cloning Fusion VM: 'precise64'. This can take some time... | |
[zk1] VMware Fusion requires root privileges to make many of the changes | |
necessary for Vagrant to control it. In a moment, Vagrant will ask for | |
your administrator password in order to install a helper that will have | |
permissions to make these changes. Note that Vagrant itself continues | |
to run without administrative privileges. | |
sudo helper setuid-wrapper must run as root | |
~/code/zk_testing$ vagrant status | |
Current machine states: | |
zk1 not running (vmware_fusion) | |
The VM is powered off. To restart the VM, run `vagrant up` | |
~/code/zk_testing$ sudo !! | |
sudo vagrant up --provider=vmware_fusion | |
Bringing machine 'zk1' up with 'vmware_fusion' provider... | |
[zk1] VMware Fusion requires root privileges to make many of the changes | |
necessary for Vagrant to control it. In a moment, Vagrant will ask for | |
your administrator password in order to install a helper that will have | |
permissions to make these changes. Note that Vagrant itself continues | |
to run without administrative privileges. | |
[zk1] VMware Fusion requires root privileges to make many of the changes | |
necessary for Vagrant to control it. In a moment, Vagrant will ask for | |
your administrator password in order to install a helper that will have | |
permissions to make these changes. Note that Vagrant itself continues | |
to run without administrative privileges. | |
[zk1] Verifying vmnet devices are healthy... | |
Pruning invalid NFS exports. Administrator privileges will be required... | |
[zk1] Preparing network adapters... | |
[zk1] Starting the VMware VM... | |
[zk1] Waiting for the VM to finish booting... | |
[zk1] The machine is booted and ready! | |
[zk1] Forwarding ports... | |
[zk1] -- 22 => 2222 | |
[zk1] Configuring network adapters within the VM... | |
[zk1] Enabling and configuring shared folders... | |
[zk1] -- vagrant-root: /Users/brandon/code/zk_testing | |
~/code/zk_testing$ vagrant status | |
Current machine states: | |
zk1 not running (vmware_fusion) | |
The VM is powered off. To restart the VM, run `vagrant up` | |
~/code/zk_testing$ sudo !! | |
sudo vagrant status | |
Current machine states: | |
zk1 running (vmware_fusion) | |
The VM is running. To stop this VM, you can run `vagrant halt` to | |
shut it down, or you can run `vagrant suspend` to simply suspend | |
the virtual machine. In either case, to restart it again, run | |
`vagrant up`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.define :zk1 do |zk_config| | |
zk_config.vm.network :private_network, ip: "192.168.123.10" | |
zk_config.vm.box = "precise64" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment