diff options
| author | dautor <karlo98.m@gmail.com> | 2024-11-15 13:47:50 +0100 |
|---|---|---|
| committer | dautor <karlo98.m@gmail.com> | 2024-11-16 14:25:00 +0100 |
| commit | bdd2396d19f5465ecaac3195deeceef29a867d52 (patch) | |
| tree | 2dbe4c83c833ef8b8bfe1473fda3a028136b4299 /simple/1 | |
Create example structure and add 2 examples
Diffstat (limited to 'simple/1')
| -rw-r--r-- | simple/1/conf | 19 | ||||
| -rw-r--r-- | simple/1/root/etc/rc.conf | 5 | ||||
| -rw-r--r-- | simple/1/root/etc/resolv.conf | 1 |
3 files changed, 25 insertions, 0 deletions
diff --git a/simple/1/conf b/simple/1/conf new file mode 100644 index 0000000..59baa29 --- /dev/null +++ b/simple/1/conf @@ -0,0 +1,19 @@ +{ + module: sf.jail + configuration: { + interfaces: { + eth0 { type: eiface } + eth1 { type: eiface } + } + filesystem: { + layers: [ + simple/1/root + /tmp/lamina.machine + /lab/jail/base/14.1-RELEASE + ] + devfs: 5 + } + init: [ echo, custom init command ] + shutdown: [ echo, custom shutdown command ] + } +} diff --git a/simple/1/root/etc/rc.conf b/simple/1/root/etc/rc.conf new file mode 100644 index 0000000..6dedadd --- /dev/null +++ b/simple/1/root/etc/rc.conf @@ -0,0 +1,5 @@ +hostname="test-1" +sshd_enable="YES" +ifconfig_eth0="inet 10.1.0.3/24 up" +ifconfig_eth1="inet 10.2.0.3/24 up" +defaultrouter="10.2.0.1" diff --git a/simple/1/root/etc/resolv.conf b/simple/1/root/etc/resolv.conf new file mode 100644 index 0000000..35fb6f9 --- /dev/null +++ b/simple/1/root/etc/resolv.conf @@ -0,0 +1 @@ +nameserver 1.0.0.1 |
