Skip to content

Instantly share code, notes, and snippets.

@owlfox
Created February 1, 2020 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save owlfox/24c6afc02002c83d77d541d38349854a to your computer and use it in GitHub Desktop.
Save owlfox/24c6afc02002c83d77d541d38349854a to your computer and use it in GitHub Desktop.
Vagrant stuff
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.ssh.insert_key = false
config.vm.define 'simplefs' do |fs|
fs.vm.box = "ubuntu/bionic64"
fs.vm.network "private_network", ip: "192.168.168.168"
fs.ssh.forward_agent = true
fs.vm.provision "shell", inline: <<-SHELL
apt-get update
apt-get upgrade -y
apt-get install sshfs build-essential linux-headers-$(uname -r) -y
SHELL
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment