From bc5fb0341c7d871c2f3c59f32468a76b15115037 Mon Sep 17 00:00:00 2001 From: vallard Date: Fri, 30 Jul 2010 22:01:35 +0000 Subject: [PATCH] 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 --- .../share/xcat/install/esx/base.esxi4.1.tmpl | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 xCAT-server/share/xcat/install/esx/base.esxi4.1.tmpl diff --git a/xCAT-server/share/xcat/install/esx/base.esxi4.1.tmpl b/xCAT-server/share/xcat/install/esx/base.esxi4.1.tmpl new file mode 100644 index 000000000..7094f022a --- /dev/null +++ b/xCAT-server/share/xcat/install/esx/base.esxi4.1.tmpl @@ -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() )