Last active
July 18, 2018 11:09
-
-
Save iley/014437ada08fda966c1200a40349434a to your computer and use it in GitHub Desktop.
basic vagrantfile
This file contains hidden or 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 : | |
$script = <<-SCRIPT | |
echo Provisioning... | |
sed 's/^session.*pam_motd/# &/' -i /etc/pam.d/{sshd,login} | |
sed 's/^AcceptEnv LANG/# &/' -i /etc/ssh/sshd_config | |
sudo apt update | |
SCRIPT | |
Vagrant.configure("2") do |config| | |
config.vm.box = "bento/ubuntu-18.04" | |
# config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "2048" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment