airshipctl/Vagrantfile
Stanislav Egorov d0e1c0258f [#32]: scripts for local run playbooks
Change-Id: Ia3f0e1461149f4ff887f965dd5b5a00fe2f8f04b
2020-02-28 17:24:32 -08:00

14 lines
404 B
Ruby

Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provider "virtualbox" do |vb|
vb.memory = "9216"
vb.cpus = 4
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update
ssh-keygen -b 2048 -t rsa -f ~/.ssh/id_rsa -q -N ""
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
SHELL
end