1. Henk Langeveld
  2. oi-build

Commits

Henk Langeveld  committed 5145cc6

adding README and some lingering files

  • Participants
  • Parent commits 999285d
  • Branches default

Comments (0)

Files changed (3)

File README

View file
+
+NOTE: These scripts are a work in progress and not suited for any particular purpose.
+

File set-profiles

View file
+usermod -P 'Primary Administrator' henk
+

File zonetemplate

View file
+function zone_config { typeset zone=$1 path=$2 nic=${3:?}
+	zonecfg -z ${zone} <<END
+create
+set autoboot=true
+set zonepath=${path}
+set ip-type=exclusive
+add net
+set physical=${nic}
+end
+exit
+END
+}
+
+[[ $0 == *zonetemplate ]] || return 0
+zone_config $1 $2 $3