As requested by (https://github.com/linuxkit/linuxkit/pull/2784#discussion_r154895971).
@@ -13,14 +13,14 @@ Vagrant.configure("2") do |config|
SHELL
config.vm.provision "docker"
+ config.vm.provision "shell", inline: "ps aux | grep 'sshd:' | awk '{print $2}' | xargs kill"
config.vm.provision "shell", privileged: false, inline: <<-SHELL
mkdir -p ~/go/src/github.com/linuxkit/
ln -s /vagrant ~/go/src/github.com/linuxkit/linuxkit
- cd ~/go/src/github.com/linuxkit/linuxkit/src/cmd/linuxkit
- go get -d
- go install
- echo "export PATH=${PATH}:${HOME}/go/bin" >> ~/.bashrc
+ cd ~/go/src/github.com/linuxkit/linuxkit
+ make all
+ sudo make install
SHELL
%w(vmware_fusion vmware_workstation vmware_appcatalyst).each do |provider|
