Skip to content

Instantly share code, notes, and snippets.

@kikitux
kikitux / Vagrantfile
Last active June 25, 2023 10:23
Vagrantfile, multi machine with ssh password less and hostname over private network.
numnodes=2
baseip="192.168.10"
#global script
$global = <<SCRIPT
#check for private key for vm-vm comm
[ -f /vagrant/id_rsa ] || {
ssh-keygen -t rsa -f /vagrant/id_rsa -q -N ''
}