You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# create a node vagrant box and enter http://192.168.1.1 to configure it:
# create a node hostname gc-node with mac: 08:00:27:e7:4a:b3, add the password: vagrant for root
# create a vagrant box from the virtualbox with:
# #vagrant package --base ffgc-node --output ./gc-node.box
# #vagrant box add ffgc-node node-image/gc-node.box
config.vm.box = "node-image/gc-node.box"
config.vm.provider "virtualbox" do |vb|
# Don't boot with headless mode
vb.gui = true
# Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--memory", "64"]
end
config.ssh.username = 'root'
config.ssh.password = 'vagrant'
config.ssh.insert_key = 'true'
(0..9).each do |i|
config.vm.define "gc-node0#{i}" do |node|
node.vm.hostname = "gc-node0#{i}"
node.vm.network "private_network", ip: "10.112.222.#{i+1}", netmask: "255.255.0.0"
# this doesn't work jet:
#node.vm.provision :ash, path: "bootstrap-node.sh", args: "node0#{i}"
#see http://stackoverflow.com/questions/31157899/provision-with-vagrant-on-a-box-that-uses-bin-ash
end
end
Please someone add the network configuration that would be needed on a node inside the ffgc network at https://github.com/rubo77/ffnord-example/blob/testnodes/bootstrap-testnode.sh
The text was updated successfully, but these errors were encountered: