|
|
@ -20,7 +20,7 @@ curl -L https://storage.googleapis.com/golang/go#{GO_VERSION}.linux-amd64.tar.gz
|
|
|
|
tar -C /usr/local -xzf go#{GO_VERSION}.linux-amd64.tar.gz
|
|
|
|
tar -C /usr/local -xzf go#{GO_VERSION}.linux-amd64.tar.gz
|
|
|
|
wget "https://github.com/Masterminds/glide/releases/download/#{GLIDE_VERSION}/glide-#{GLIDE_VERSION}-linux-amd64.tar.gz"
|
|
|
|
wget "https://github.com/Masterminds/glide/releases/download/#{GLIDE_VERSION}/glide-#{GLIDE_VERSION}-linux-amd64.tar.gz"
|
|
|
|
su vagrant -c "mkdir -p /home/vagrant/bin"
|
|
|
|
su vagrant -c "mkdir -p /home/vagrant/bin"
|
|
|
|
su vagrant -c "mkdir -p /home/vagrant/src/github.com/kubernetes/deployment-manager"
|
|
|
|
su vagrant -c "mkdir -p /home/vagrant/src/github.com/kubernetes/helm"
|
|
|
|
chgrp vagrant -R /home/vagrant/src
|
|
|
|
chgrp vagrant -R /home/vagrant/src
|
|
|
|
chown vagrant -R /home/vagrant/src
|
|
|
|
chown vagrant -R /home/vagrant/src
|
|
|
|
su vagrant -c "tar -vxz -C /home/vagrant/bin --strip=1 -f glide-#{GLIDE_VERSION}-linux-amd64.tar.gz"
|
|
|
|
su vagrant -c "tar -vxz -C /home/vagrant/bin --strip=1 -f glide-#{GLIDE_VERSION}-linux-amd64.tar.gz"
|
|
|
@ -40,7 +40,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
|
|
vb.customize ["modifyvm", :id, "--memory", "2048"]
|
|
|
|
vb.customize ["modifyvm", :id, "--memory", "2048"]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
config.vm.synced_folder "../", "/home/vagrant/src/github.com/kubernetes/deployment-manager"
|
|
|
|
config.vm.synced_folder "../", "/home/vagrant/src/github.com/kubernetes/helm"
|
|
|
|
config.vm.synced_folder ".", "/vagrant", disabled: true
|
|
|
|
config.vm.synced_folder ".", "/vagrant", disabled: true
|
|
|
|
|
|
|
|
|
|
|
|
config.vm.provision :shell, inline: $bootstrap
|
|
|
|
config.vm.provision :shell, inline: $bootstrap
|
|
|
|