Add a description to the host vnet interface

This makes it much easier to understand `ifconfig` when run on the jail host. Not sure how to test this, but manually appyling this via `bastille edit` to an existing vnet jail had the right effects when I restarted the jail.
This commit is contained in:
Rob Arnold
2021-11-14 19:49:08 -08:00
parent e49662bab4
commit 0a232dd140

View File

@@ -212,6 +212,7 @@ ${NAME} {
vnet;
vnet.interface = e0b_${uniq_epair};
exec.prestart += "jib addm ${uniq_epair} ${bastille_jail_conf_interface}";
exec.prestart += "ifconfig e0a_${uniq_epair} description \"vnet host interface for Bastille jail ${NAME}"";
exec.poststop += "jib destroy ${uniq_epair}";
}
EOF