Slow machine creation when defining vm.network

Hi,

I am using Vagrant 2.4.9 on Fedora Silverblue 43 with libvirt.

When I set up a network for my VM, the creation is very slow (3 minutes vs less than 30 seconds otherwise). I repeatedly get the following message: ubuntu-custom: Warning: Connection refused. Retrying... In the GUI I get A start job is running for Wait for Network to be Configured ( <time> / no limit).

I do not have the issue when the VM already exists.

Here is my Vagrantfile:

Vagrant.configure("2") do |config|
  config.vm.box = "generic/ubuntu2204"

  config.vm.define "ubuntu-custom" do |custom|
    custom.vm.network "private_network", ip: "172.35.0.2"
  end

  config.vm.define "ubuntu-default"
end

And the results of the separate vagrant up <vm> commands:

$ time vagrant up ubuntu-custom
Bringing machine 'ubuntu-custom' up with 'libvirt' provider...
==> ubuntu-custom: Checking if box 'generic/ubuntu2204' version '4.3.12' is up to date...
[fog][WARNING] Unrecognized arguments: libvirt_ip_command
==> ubuntu-custom: Creating image (snapshot of base box volume).
==> ubuntu-custom: Creating domain with the following settings...
==> ubuntu-custom:  -- Name:              vagrant-network_ubuntu-custom
==> ubuntu-custom:  -- Description:       Source: <REDACTED>
==> ubuntu-custom:  -- Domain type:       kvm
==> ubuntu-custom:  -- Cpus:              2
==> ubuntu-custom:  -- Feature:           acpi
==> ubuntu-custom:  -- Feature:           apic
==> ubuntu-custom:  -- Feature:           pae
==> ubuntu-custom:  -- Clock offset:      utc
==> ubuntu-custom:  -- Memory:            2048M
==> ubuntu-custom:  -- Base box:          generic/ubuntu2204
==> ubuntu-custom:  -- Storage pool:      default
==> ubuntu-custom:  -- Image(vda):        /var/lib/libvirt/images/vagrant-network_ubuntu-custom.img, virtio, 128G
==> ubuntu-custom:  -- Disk driver opts:  cache='default'
==> ubuntu-custom:  -- Graphics Type:     vnc
==> ubuntu-custom:  -- Video Type:        cirrus
==> ubuntu-custom:  -- Video VRAM:        256
==> ubuntu-custom:  -- Video 3D accel:    false
==> ubuntu-custom:  -- Keymap:            en-us
==> ubuntu-custom:  -- TPM Backend:       passthrough
==> ubuntu-custom:  -- INPUT:             type=mouse, bus=ps2
==> ubuntu-custom: Creating shared folders metadata...
==> ubuntu-custom: Starting domain.
==> ubuntu-custom: Domain launching with graphics connection settings...
==> ubuntu-custom:  -- Graphics Port:      5900
==> ubuntu-custom:  -- Graphics IP:        127.0.0.1
==> ubuntu-custom:  -- Graphics Password:  Not defined
==> ubuntu-custom:  -- Graphics Websocket: 5700
==> ubuntu-custom: Waiting for domain to get an IP address...
==> ubuntu-custom: Waiting for machine to boot. This may take a few minutes...
    ubuntu-custom: SSH address: 192.168.121.2:22
    ubuntu-custom: SSH username: vagrant
    ubuntu-custom: SSH auth method: private key
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom: Warning: Connection refused. Retrying...
    ubuntu-custom:
    ubuntu-custom: Vagrant insecure key detected. Vagrant will automatically replace
    ubuntu-custom: this with a newly generated keypair for better security.
    ubuntu-custom:
    ubuntu-custom: Inserting generated public key within guest...
    ubuntu-custom: Removing insecure key from the guest if it's present...
    ubuntu-custom: Key inserted! Disconnecting and reconnecting using new SSH key...
==> ubuntu-custom: Machine booted and ready!
==> ubuntu-custom: Configuring and enabling network interfaces...

real	2m16,935s
user	1m19,684s
sys	0m5,570s
$ time vagrant up ubuntu-default
Bringing machine 'ubuntu-default' up with 'libvirt' provider...
==> ubuntu-default: Checking if box 'generic/ubuntu2204' version '4.3.12' is up to date...
==> ubuntu-default: Creating image (snapshot of base box volume).
==> ubuntu-default: Creating domain with the following settings...
==> ubuntu-default:  -- Name:              vagrant-network_ubuntu-default
==> ubuntu-default:  -- Description:       Source: <REDACTED>
==> ubuntu-default:  -- Domain type:       kvm
==> ubuntu-default:  -- Cpus:              2
==> ubuntu-default:  -- Feature:           acpi
==> ubuntu-default:  -- Feature:           apic
==> ubuntu-default:  -- Feature:           pae
==> ubuntu-default:  -- Clock offset:      utc
==> ubuntu-default:  -- Memory:            2048M
==> ubuntu-default:  -- Base box:          generic/ubuntu2204
==> ubuntu-default:  -- Storage pool:      default
==> ubuntu-default:  -- Image(vda):        /var/lib/libvirt/images/vagrant-network_ubuntu-default.img, virtio, 128G
==> ubuntu-default:  -- Disk driver opts:  cache='default'
==> ubuntu-default:  -- Graphics Type:     vnc
==> ubuntu-default:  -- Video Type:        cirrus
==> ubuntu-default:  -- Video VRAM:        256
==> ubuntu-default:  -- Video 3D accel:    false
==> ubuntu-default:  -- Keymap:            en-us
==> ubuntu-default:  -- TPM Backend:       passthrough
==> ubuntu-default:  -- INPUT:             type=mouse, bus=ps2
==> ubuntu-default: Creating shared folders metadata...
==> ubuntu-default: Starting domain.
==> ubuntu-default: Domain launching with graphics connection settings...
==> ubuntu-default:  -- Graphics Port:      5901
==> ubuntu-default:  -- Graphics IP:        127.0.0.1
==> ubuntu-default:  -- Graphics Password:  Not defined
==> ubuntu-default:  -- Graphics Websocket: 5701
==> ubuntu-default: Waiting for domain to get an IP address...
==> ubuntu-default: Waiting for machine to boot. This may take a few minutes...
    ubuntu-default: SSH address: 192.168.121.234:22
    ubuntu-default: SSH username: vagrant
    ubuntu-default: SSH auth method: private key
    ubuntu-default:
    ubuntu-default: Vagrant insecure key detected. Vagrant will automatically replace
    ubuntu-default: this with a newly generated keypair for better security.
    ubuntu-default:
    ubuntu-default: Inserting generated public key within guest...
    ubuntu-default: Removing insecure key from the guest if it's present...
    ubuntu-default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> ubuntu-default: Machine booted and ready!
real	0m16,679s
user	0m2,020s
sys	0m0,251s

Is this expected behavior, or am I missing something?

Thanks