Add a bhyverc script using pidfiles.

This commit is contained in:
Tom Alexander
2025-08-23 20:20:06 -04:00
parent d1c6e358d4
commit 187a7aebe9
4 changed files with 283 additions and 1 deletions

View File

@@ -217,7 +217,7 @@ EOF
mkpeer ${host_interface_name}: bridge ether link0
name ${host_interface_name}:ether $bridge_name
EOF
ifconfig $(ngctl msg "${host_interface_name}:" getifname | grep Args | cut -d '"' -f 2) name "${host_interface_name}" "$ip_range" up
ifconfig "$(ngctl msg "${host_interface_name}:" getifname | grep Args | cut -d '"' -f 2)" name "${host_interface_name}" "$ip_range" up
fi
}