diff --git a/src/brand/bhyve/bootlib.py b/src/brand/bhyve/bootlib.py index cc535ad36..c3ce019be 100644 --- a/src/brand/bhyve/bootlib.py +++ b/src/brand/bhyve/bootlib.py @@ -228,7 +228,12 @@ def build_cloudinit_image(self, uuid, src, testmode): "addresses": [addr], } if rtr: - data["gateway4"] = rtr + data["routes"] = [ + { + "to": "0.0.0.0/0", + "via": rtr, + } + ] if not nsdone: domain = self.findattr("dns-domain")