summaryrefslogtreecommitdiff
path: root/simple/1
diff options
context:
space:
mode:
Diffstat (limited to 'simple/1')
-rw-r--r--simple/1/conf19
-rw-r--r--simple/1/root/etc/rc.conf5
-rw-r--r--simple/1/root/etc/resolv.conf1
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