Thursday, September 15, 2016

solaris 10 sysidcfg example

sometimes you get tired of pressing esc 2.
after you create your zone, plop this file in:
/zonename/root/etc/sysidcfg

issue:
# zoneadm -z zonename boot
# zlogin -C zonename

and have a ball, y'all

 system_locale=en_US  
 timezone=US/Eastern  
 terminal=vt100  
 timeserver=localhost  
 name_service=DNS {domain_name=nothere.com  
         name_server=10.6.7.8,10.6.7.9  
         search=nothere.com}  
 nfs4_domain=dynamic  
 root_password=nVgCm2Wm0wNVZ <---- from /etc/shadow, fool.  
 network_interface=primary {hostname=hostfromhades  
         default_route=10.6.6.1  
         ip_address=10.6.6.6  
         netmask=255.255.255.0  
         protocol_ipv6=yes}  
 security_policy=none  
   

No comments: