still need to update this to do a checkin with the new python postscripts from VMware
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
790908c257
commit
bc5fb0341c
28
xCAT-server/share/xcat/install/esx/base.esxi4.1.tmpl
Normal file
28
xCAT-server/share/xcat/install/esx/base.esxi4.1.tmpl
Normal file
@ -0,0 +1,28 @@
|
||||
# Sample scripted installation file
|
||||
# edited and updated by vallard@sumavi.com
|
||||
|
||||
# Accept the VMware End User License Agreement
|
||||
vmaccepteula
|
||||
|
||||
# Set the root password for the DCUI and Tech Support Mode
|
||||
rootpw --iscrypted #CRYPT:passwd:key=system,username=root:password#
|
||||
|
||||
# Choose the first disk (in channel/target/lun order) to install onto
|
||||
autopart --firstdisk --overwritevmfs
|
||||
|
||||
# The install media is on the network.
|
||||
install url http://#TABLE:noderes:$NODE:nfsserver#/install/#TABLE:nodetype:$NODE:os#/#TABLE:nodetype:$NODE:arch#
|
||||
|
||||
|
||||
# Set the network to DHCP on the first network adapter
|
||||
#network --bootproto=dhcp --device=vmnic0
|
||||
network --bootproto=dhcp
|
||||
|
||||
# reboot automatically when we're done.
|
||||
reboot
|
||||
|
||||
# A sample post-install script
|
||||
%post --unsupported --interpreter=python --ignorefailure=true
|
||||
import time
|
||||
stampFile = open('/finished.stamp', mode='w')
|
||||
stampFile.write( time.asctime() )
|
Loading…
Reference in New Issue
Block a user