vagrant deployment get stuck after vm has booted

I am trying to deploy 3 nodes of vm into virtualbox using vagrant, but it gets stuck at this point

VM is running but vagrant deployment is not going any further.

Here is my vagrant file

# -*- mode: ruby -*-
# vi: set ft=ruby :

PUBLIC_NET_BRIDGE = 'Realtek PCIe GbE Family Controller #5'

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# config.vm.synced_folder ".", "/vagrant"
config.vm.synced_folder ".", "/vagrant", mount_options: ["dmode=700,fmode=600"] = "ubuntu/focal64"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
config.vm.define "swarm-master" do |d|
d.vm.provision :shell, path: ""
d.vm.hostname = "swarm-master" "private_network", ip: "" "public_network", ip: SWAMR_MASTER_PUBLIC_IP, bridge: PUBLIC_NET_BRIDGE
(1..2).each do |i|
config.vm.define "swarm-node-#{i}" do |d|
d.vm.hostname = "swarm-node-#{i}" "private_network", ip: "{i}"
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.scope = :box

is there anything I can do from this not happen.

any suggestion will be greatly appreciated.

My host machine has 8GB RAM on ssd, plenty of space

only 2 other VMs are running each with 1GB alloted.

1 thought on “vagrant deployment get stuck after vm has booted”

  1. I tried your Vagrantfile, found no problems booting. (Though I had to change the `d.vm .network “public_network”…`, as my host has different interfaces).

    I’ve got no specific solution, but try booting without the ‘public_network’ line, maybe without plugins, then add lines until things break again: there’s your problem.


Leave a Comment