dashbrew icon indicating copy to clipboard operation
dashbrew copied to clipboard

VMWare Provider Support

Open mathewpeterson opened this issue 10 years ago • 4 comments

Currently, this project does not work with VMWare Fusion.

I have already created the vmware-iso builder for the base box (mdkholy/dashbrew-basebox#1) however when using this box there are issues actually running the provisioner.

This is the current error I'm getting;

➜  dashbrew git:(master) vagrant up --provider=vmware_fusion
Bringing machine 'default' up with 'vmware_fusion' provider...
==> default: Cloning VMware VM: 'mdkholy/dashbrew'. This can take some time...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Starting the VMware VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 192.168.187.163:22
    default: SSH username: vagrant
    default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for host entries
==> default: adding to (/etc/hosts) : 192.168.10.10  dashbrew.vm  # VAGRANT: 001312e6348306ac7f79eceb4cba1751 (default) / /Users/mathewpeterson/Sites/dashbrew/.vagrant/machines/default/vmware_fusion/ea70e051-c7d9-454e-92f2-05efc2414a22/dashbrew-ubuntu-14.04-amd64.vmx
==> default: Forwarding ports...
    default: -- 22 => 2222
==> default: Setting hostname...
==> default: Configuring network adapters within the VM...
==> default: Waiting for HGFS kernel module to load...
==> default: Enabling and configuring shared folders...
    default: -- /Users/mathewpeterson/Sites/dashbrew/public: /var/www
    default: -- /Users/mathewpeterson/Sites/dashbrew: /vagrant
==> default: Running provisioner: shell...
    default: Running: /var/folders/wl/sqy3rpzx2g15llf4gw6smfx40000gn/T/vagrant-shell20150315-3646-1j3r66.sh
==> default: stdin: is not a tty
==> default: [Info] An update patch is available for your box. Updating...
==> default: [Info] Update patch has been applied successfully
==> default: [Info] Initializing environment.yaml
==> default: [Debug] Initializing config files
==> default: [Debug] Finished running Dashbrew\Cli\Tasks\InitTask
==> default: [Debug] Running Dashbrew\Cli\Tasks\ConfigDefaultsTask
==> default: [Error] Failed to chown file "/vagrant/config/monit".
==> default: [Info] Finished in 0.23s

mathewpeterson avatar Mar 15 '15 15:03 mathewpeterson

It seems that if I remove the user:group ownerships on the fs commands, the provisioner will work. I will check back when I have more info.

mathewpeterson avatar Mar 16 '15 01:03 mathewpeterson

:+1:

philwinkle avatar Mar 19 '15 04:03 philwinkle

:+1:

jkenneydaniel avatar Mar 21 '15 21:03 jkenneydaniel

I've added pr #29 which will run the provisioner on a vmware box.

Feedback is welcome.

mathewpeterson avatar Apr 07 '15 16:04 mathewpeterson