Add admin_git jail.
This commit is contained in:
parent
0eddc4da52
commit
0f1769dd1f
@ -23,6 +23,10 @@ jail_list:
|
||||
enabled: true
|
||||
conf:
|
||||
src: nat_dhcp
|
||||
- name: admin_git
|
||||
enabled: true
|
||||
conf:
|
||||
src: admin_git
|
||||
bhyve_dataset: zdata/vm
|
||||
bhyve_canmount: "on"
|
||||
# efi_dev: /dev/gpt/EFI
|
||||
|
14
ansible/roles/jail/files/jails/admin_git.conf
Normal file
14
ansible/roles/jail/files/jails/admin_git.conf
Normal file
@ -0,0 +1,14 @@
|
||||
admin_git {
|
||||
path = "/jail/main/jails/${name}";
|
||||
vnet;
|
||||
exec.prestart += "/usr/local/bin/jail_netgraph_bridge start jail_nat jail${name} 10.215.1.1/24";
|
||||
exec.poststop += "/usr/local/bin/jail_netgraph_bridge stop jail_nat jail${name}";
|
||||
vnet.interface += "jail${name}";
|
||||
|
||||
devfs_ruleset = 14;
|
||||
mount.devfs;
|
||||
|
||||
exec.start += "/bin/sh /etc/rc";
|
||||
exec.stop = "/bin/sh /etc/rc.shutdown jail";
|
||||
exec.consolelog = "/var/log/jail_${name}_console.log";
|
||||
}
|
@ -58,6 +58,11 @@
|
||||
// worker2
|
||||
"hw-address": "06:01:92:5b:78:92",
|
||||
"ip-address": "10.215.1.209"
|
||||
},
|
||||
{
|
||||
// admin_git
|
||||
"hw-address": "58:9c:fc:10:fc:5a",
|
||||
"ip-address": "10.215.1.210"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user