diff options
Diffstat (limited to 'simple/0')
| -rw-r--r-- | simple/0/conf | 20 | ||||
| -rw-r--r-- | simple/0/root/etc/rc.conf | 6 | ||||
| -rw-r--r-- | simple/0/root/etc/resolv.conf | 1 |
3 files changed, 27 insertions, 0 deletions
diff --git a/simple/0/conf b/simple/0/conf new file mode 100644 index 0000000..bc8c79b --- /dev/null +++ b/simple/0/conf @@ -0,0 +1,20 @@ +{ + module: sf.jail + configuration: { + interfaces: { + eth0 { type: eiface } + eth1 { type: eiface } + eth2 { type: steal, interface: re0 } + } + filesystem: { + layers: [ + simple/0/root + /tmp/lamina.dns + /tmp/lamina.machine + /lab/jail/base/14.1-RELEASE + ] + } + init: [ sh, /etc/rc ] + shutdown: [ sh, /etc/rc.shutdown ] + } +} diff --git a/simple/0/root/etc/rc.conf b/simple/0/root/etc/rc.conf new file mode 100644 index 0000000..d7ef5ce --- /dev/null +++ b/simple/0/root/etc/rc.conf @@ -0,0 +1,6 @@ +hostname="test-0" +sshd_enable="YES" +ifconfig_eth0="inet 10.1.0.2/24 up" +ifconfig_eth1="inet 10.2.0.2/24 up" +ifconfig_eth2="inet 10.0.1.2/24 up" +defaultrouter="10.0.1.1" diff --git a/simple/0/root/etc/resolv.conf b/simple/0/root/etc/resolv.conf new file mode 100644 index 0000000..35fb6f9 --- /dev/null +++ b/simple/0/root/etc/resolv.conf @@ -0,0 +1 @@ +nameserver 1.0.0.1 |
