Public network dns search domain

I’ve added a public network like so "public_network", bridge: "br0", use_dhcp_assigned_default_route: true

It works fine except for unqualified name resolution.

I’ve made this work like this

config.vm.provision "shell", inline: <<-SHELL
  resolvectl domain eth1
  ping -q -c1 -W10 repo > /dev/null # wait for resolver
   <... other stuff ...>

which works, however I wondered if there was an option to that would do this for me without additional work in the provision script ? I did look, I couldn’t see one - thought worth asking…