From 3ada41b2e02817175192ac3e44f261ee76993a66 Mon Sep 17 00:00:00 2001
From: Olaf Bohlen <olaf.bohlen@niit.com>
Date: Wed, 19 Aug 2020 17:54:11 +0200
Subject: [PATCH] initial work

---
 defaults/main.yml |   72 +++++++++++++++++++++++++++++++++++
 1 files changed, 71 insertions(+), 1 deletions(-)

diff --git a/defaults/main.yml b/defaults/main.yml
index 55d9505..7fcda8a 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -1,2 +1,72 @@
 ---
-# defaults file for oi-zone
\ No newline at end of file
+# defaults file for oi-zone
+oizone:
+  name: oizone
+  zoneroot: /export/zones/
+  autoboot: "true"
+  bootargs: # -v
+  iptype: exclusive
+  cpus: dedicated # dedicated or capped-cpu
+  ncpus: 1
+  mem: capped-memory # or nil
+  ram: 1G
+  swap: 1G
+  locked: 1G
+  brand: ipkg
+  filesystems:
+    - path: /export/zones/oizone
+      type: zoneroot
+      zfscreate: true
+      zfs_extra_properties:
+        refquota: 10G
+    - path: apppool/oizone/datavol1
+      type: volume
+      zfscreate: true
+      zfs_extra_properties:
+        volsize: 5G
+    - path: apppool/oizone/dataset1
+      type: dataset
+      zfscreate: true
+      zfs_extra_properties:
+        quota: 2G
+    - path: /disk1
+      type: lofs
+      mountpoint: /hostdisks/disk1
+      zfscreate: false
+      options:
+        - ro
+        - nodevices
+  nics:
+    - physical: ixgbe0
+      logical: oizoneint0
+      vlan: 100
+      address: dhcp  # can be "dhcp" or a regular IP address
+      addrsuffix: v4 # can be a string, interface0/suffix will be the ipadm create-addr
+  kvm:
+    vnc: "on"
+    bootorder: cd
+  sysding:
+    timezone: UTC
+    locale: C
+    ip:
+      routes:
+        - target: default # can be a CIDR or a host ip or "default"
+          router: 172.18.0.200 # IP of the router
+      dns:
+        nameservers:
+          - 1.1.1.1
+          - 8.8.8.8
+        search:
+          - example.com
+          - openindiana.org
+        domain: example.com
+    users:
+      - name: root
+        hashedpassword: "$5$foobar...."
+      - name: localadm
+        uid: 100
+        gid: 10
+        shell: /usr/bin/bash
+        gecos: "Local Admin Account"
+        home: /export/home/localadm
+        hashedpassword: "$5$barfoo...."

--
Gitblit v1.9.3