Setup OpenSolaris Jumpstart server using Solaris DHCP profile directory for 
auto install:
# cd /zfs1/install/jumpstart
# cat rules
any - - any_machine post_install
# cat any_machine
install_type initial_install
locale  en_US.UTF-8
geo N_America
cluster SUNWCXall
system_type standalone
#fdisk rootdisk 0x04 delete
fdisk rootdisk solaris delete
fdisk rootdisk solaris maxfree
#pool rpool 64g 8g 8g mirror any any
pool rpool 128g 8g 8g any
bootenv installbe bename 10u6
#partitioning explicit
#filesys rootdisk.s0 8000 /
filesys rootdisk.s1 8000
filesys rootdisk.s3 8000
filesys rootdisk.s4 8000
filesys rootdisk.s6 500
filesys rootdisk.s7 500
filesys rootdisk.s5 free
#patch patch_order nfs://192.168.1.8/zones/install/patches retry 5
noreboot
# cat sysidcfg
system_locale=en_US.UTF-8
timezone=US/Eastern
timeserver=localhost
security_policy=none
network_interface=primary {protocol_ipv6=no}
name_service=DNS {domain_name=rochester.rr.com
                  name_server=192.168.1.1
                  search=rochester.rr.com}
security_policy=NONE
nfs4_domain=dynamic
root_password=e11Nyle9XTUOw
service_profile=open
terminal=vt100
# cat post_install
bootadm update-archive -R /a
mkdir /a/export/home
mkdir /a/export/home/jbrewer
echo "*         127.0.0.1:/export/home/&" >> /a/etc/auto_home
echo "share  -F nfs  -o rw  -d \"home dirs\"  /export/home" >> 
/a/etc/dfs/dfstabecho "jbrewer:x:100:1::/home/jbrewer:/bin/sh" >> /a/etc/passwd
echo "jbrewer:U8ZcQBSIa7wbk:14167::::::" >> /a/etc/shadow
chown 100:1 /a/export/home/jbrewer
echo "set ip:dohwcksum = 0" >>/a/etc/system
echo "rge \"pci10ec,8168\"" >> /a/etc/driver_aliases
echo "* reboot so the deadman timer will be enabled." >>/a/etc/system
echo "set snooping=1" >>/a/etc/system
#

# cd /zfs1/install/jumpstart
# cat rules
any - - any_machine post_install
# cat any_machine
install_type initial_install
locale  en_US.UTF-8
geo N_America
cluster SUNWCXall
system_type standalone
#fdisk rootdisk 0x04 delete
fdisk rootdisk solaris delete
fdisk rootdisk solaris maxfree
#pool rpool 64g 8g 8g mirror any any
pool rpool 128g 8g 8g any
bootenv installbe bename 10u6
#partitioning explicit
#filesys rootdisk.s0 8000 /
filesys rootdisk.s1 8000
filesys rootdisk.s3 8000
filesys rootdisk.s4 8000
filesys rootdisk.s6 500
filesys rootdisk.s7 500
filesys rootdisk.s5 free
#patch patch_order nfs://192.168.1.8/zones/install/patches retry 5
noreboot
# cat sysidcfg
system_locale=en_US.UTF-8
timezone=US/Eastern
timeserver=localhost
security_policy=none
network_interface=primary {protocol_ipv6=no}
name_service=DNS {domain_name=rochester.rr.com
                  name_server=192.168.1.1
                  search=rochester.rr.com}
security_policy=NONE
nfs4_domain=dynamic
root_password=e11Nyle9XTUOw
service_profile=open
terminal=vt100
# cat post_install
bootadm update-archive -R /a
mkdir /a/export/home
mkdir /a/export/home/jbrewer
echo "*         127.0.0.1:/export/home/&" >> /a/etc/auto_home
echo "share  -F nfs  -o rw  -d \"home dirs\"  /export/home" >> 
/a/etc/dfs/dfstabecho "user1:x:100:1::/home/jbrewer:/bin/sh" >> /a/etc/passwd
echo "user1:XXZcQBSIa7wbk:14167::::::" >> /a/etc/shadow
chown 100:1 /a/export/home/jbrewer
echo "* reboot so the deadman timer will be enabled." >>/a/etc/system
echo "set ip:dohwcksum = 0" >>/a/etc/system
echo "rge \"pci10ec,8168\"" >> /a/etc/driver_aliases
echo "* RTL8111/8168B CR 6686415 Ethernet vendor 0x10ec device 0x8168" >> 
/a/etc/system
echo "set snooping=1" >>/a/etc/system
#
-- 
This message posted from opensolaris.org

Reply via email to