[oi-dev] sysidcfg
Piotr Jasiukajtis
estibi at me.com
Sun Jun 16 16:38:03 UTC 2013
Something like that did work for me:
cat > ${ZNAME}.sysidcfg << EOF
system_locale=C
terminal=xterms
network_interface=primary {
hostname=${ZNAME}
default_route=10.10.10.1
ip_address=10.10.10.12
netmask=255.255.255.0
protocol_ipv6=no
}
security_policy=NONE
name_service=DNS {
domain_name=example.com
name_server=10.20.20.20,10.20.20.21
}
nfs4_domain=dynamic
timezone=Poland
root_password=passwPassWorD
EOF
On Jun 16, 2013, at 4:32 PM, G B <g_patrickb at yahoo.com> wrote:
> After cloning a new Zone I am attempting to use a sysidcfg file so I don't have to go through configuration for each Zone. Yet it doesn't work. I've done it years ago with Solaris 10, so does anyone have any ideas?
>
> # zonecfg -z zone1 -f zone1.cfg
> # zoneadm -z zone1 clone template
> # zoneadm -z zone1 ready
> # cp sysidcfg /zones/zone1/root/etc/sysidcfg
> # zoneadm -z zone1 boot
> # zlogin zone1
> Login incorrect
>
> Then I get an error as shown, so login to the console and it is waiting for the configuration.
>
> Here is my sysidcfg:
> terminal=vt100
> system_locale=C
> timezone=US/Central
> security_policy=NONE
> root_password=$1$Wn55Dcnb2D<truncated>
> network_interface=vnic1 {primary
> hostname=zone1
> ip_address=192.168.1.20
> netmask=255.255.255.0
> protocol_ipv6=no
> default_route=192.168.1.1
> }
> name_service=NONE
> nfs4_domain=dynamic
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
--
Piotr Jasiukajtis
More information about the oi-dev
mailing list