Skip to content

Instantly share code, notes, and snippets.

@dmarov
Created June 18, 2019 14:49
Show Gist options
  • Save dmarov/4ca5def3787e03d7c90f1c56a7398c39 to your computer and use it in GitHub Desktop.
Save dmarov/4ca5def3787e03d7c90f1c56a7398c39 to your computer and use it in GitHub Desktop.
test {
host.hostname = "${name}";
vnet=new;
vnet.interface=epair0b;
path ="/usr/jail/${name}";
mount.devfs;
allow.raw_sockets;
devfs_ruleset=4;
exec.prestart = "ifconfig epair0 create up; ifconfig bridge0 addm epair0a";
exec.start = "/bin/sh /etc/rc";
exec.stop = "ifconfig epair0b down; /bin/sh /etc/rc.shutdown";
exec.poststop = "ifconfig epair0a destroy";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment