[oi-dev] sysidcfg

G B g_patrickb at yahoo.com
Mon Jun 17 01:08:03 UTC 2013


Interesting, because no matter what I do it will not work and I have to login to the console.




________________________________
 From: Piotr Jasiukajtis <estibi at me.com>
To: OpenIndiana Developer mailing list <oi-dev at openindiana.org> 
Sent: Sunday, June 16, 2013 11:38 AM
Subject: Re: [oi-dev] sysidcfg
 

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


_______________________________________________
oi-dev mailing list
oi-dev at openindiana.org
http://openindiana.org/mailman/listinfo/oi-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20130616/b801b609/attachment-0005.html>


More information about the oi-dev mailing list