I finally broke out 2.0 today and created an ESX installation. I uploaded my nosan-esx iso and created a template. I PXE booted the server and go the menu with the new template I created. Selected my NIC...it got its IP then the error "unable to retrieve the install image". I hit enter and the next screen had the IP of my UDA and the path to the template and mount point I created in the previous steps. What am I doing wrong? Your help is really appreciated. Below is my configuration I put in the advanced field for the template.
###########################################################################################333
#Base Template for ucvid01
# Regional Settings
keyboard us
lang en_US
langsupport --default en_US
timezone
# Installation settings
skipx
mouse none
firewall --disabled
#To generate the encrypted password, run "/sbin/grub-md5-crypt" from an ESX box
rootpw password
reboot
install
url --url
http://X.X.91.254/esx3/u4/# Driver disks
# Load drivers
# Bootloader options
bootloader --location=mbr --driveorder cciss/c0d0
# Authentication
auth --enableshadow --enablemd5
# Partitioning
clearpart --all --drives cciss/c0d0 --initlabel
part /boot --fstype ext3 --size 250 --ondisk cciss/c0d0 --asprimary
part swap --size 1600 --ondisk cciss/c0d0 --asprimary
part / --fstype ext3 --size 5120 --ondisk cciss/c0d0 --asprimary
part /var/updates --fstype ext3 --size 5120 --ondisk cciss/c0d0
part /var/log --fstype ext3 --size 5120 --ondisk cciss/c0d0
part /opt --fstype ext3 --size 5120 --ondisk cciss/c0d0
part None --fstype vmkcore --size 102 --ondisk cciss/c0d0
part None --fstype vmfs3 --size 1 --grow --ondisk cciss/c0d0
part /tmp --fstype ext3 --size 10240 --ondisk cciss/c0d0
part /home --fstype ext3 --size 2048 --ondisk cciss/c0d0
part /usr --fstype ext3 --size 2048 --ondisk cciss/c0d0
part /vmimages --fstype ext3 --size 2048 --ondisk cciss/c0d0
# Network Configurations
network --device eth0 --bootproto static --ip X.X.91.138 --netmask 255.255.248.0 --gateway X.X.88.1 --nameserver X.X.128.2 --hostname ucvid01.aero.org --addvmportgroup=0
# VMWare License options
vmaccepteula
vmlicense --mode=server --server=27000@agovirt00.aero.org --edition=esxfull --features=backup,vsmp
%vmlicense_text
%packages
@base
%post
# Your postinstall script goes here!
cat > /tmp/esxcfg.sh <<\EOF1
#!/bin/sh
# Configure ESX Server
#Create the consult user
/usr/sbin/useradd -p 'password' consult
# Enable the SSH client (From this ESX host to another)
esxcfg-firewall -e sshClient
# Open port for Update Manager
esxcfg-firewall -o 8081,tcp,out,UpdateManager
#echo Permitting root access via SSH >> /var/log/esx-uda-build.log
#DANGEROUS Allow ROOT access using SSH
#sed -e 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config > /etc/ssh/sshd_config.new
#mv -f /etc/ssh/sshd_config.new /etc/ssh/sshd_config
#service sshd restart
#Add vSwitches
esxcfg-vswitch -a vSwitch1
esxcfg-vswitch -a vSwitch2
#Associate NICs with vSwitches
esxcfg-vswitch -L vmnic1 vSwitch0
esxcfg-vswitch -L vmnic3 vSwitch0
esxcfg-vswitch -U vmnic0 vSwitch0
esxcfg-vswitch -L vmnic2 vSwitch1
esxcfg-vswitch -L vmnic5 vSwitch1
esxcfg-vswitch -L vmnic0 vSwitch2
esxcfg-vswitch -L vmnic4 vSwitch2
#Create the VMotion port group on vSwitch1
esxcfg-vswitch -A VMotion vSwitch1
#esxcfg-vswitch --vlan 0 --pg VMotion vSwitch0
esxcfg-vmknic -a VMotion -i 192.168.0.12 -n 255.255.255.0
#esxcfg-route
#Create the Bonded VDI Production port group on vSwitch2
esxcfg-vswitch -A 'Bonded VDI Production' vSwitch2
#esxcfg-vswitch --vlan 12 --pg VLAN12 vSwitch2
#Create local VMFS LUN
vmkfstools -C vmfs3 -S ucvid01-local vmhba0:0:0:12
# Restart VMware Management (sync's Host and VirtualCenter)
service mgmt-vmware restart
sleep 60
#####Enable VMotion
#Get vmk number and set variable vmk_nic
vmk_nic=`vmware-vim-cmd hostsvc/vmotion/netconfig_get |grep -i device |awk -F '"' '{print $2}'`
#Enable vmotion
vmware-vim-cmd hostsvc/vmotion/vnic_set `echo $vmk_nic`
#Set rolling failover for all vSwitches - rolling failover is now called failback and the boolean values are reversed
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --nicteaming-rollingorder=true vSwitch0
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --nicteaming-rollingorder=true vSwitch1
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --nicteaming-rollingorder=true vSwitch2
#Set load balancing policy for all vSwitches
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --nicteaming-policy loadbalance_srcid vSwitch0
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --nicteaming-policy loadbalance_srcid vSwitch1
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --nicteaming-policy loadbalance_ip vSwitch2
#SET Security Tab for vSwitch
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --securepolicy-promisc=false --securepolicy-macchange=false --securepolicy-forgedxmit=false vSwitch0
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --securepolicy-promisc=false --securepolicy-macchange=false --securepolicy-forgedxmit=false vSwitch1
vmware-vim-cmd hostsvc/net/vswitch_setpolicy --securepolicy-promisc=false --securepolicy-macchange=false --securepolicy-forgedxmit=false vSwitch2
#Change SC Memory to 800MB
vmware-vim-cmd hostsvc/memoryinfo 838860800
#Set all the NICs to 1000/Full
esxcfg-nics -s 1000 -d full vmnic0
esxcfg-nics -s 1000 -d full vmnic1
esxcfg-nics -s 1000 -d full vmnic2
esxcfg-nics -s 1000 -d full vmnic3
esxcfg-nics -s 1000 -d full vmnic4
esxcfg-nics -s 1000 -d full vmnic5
vmware-vim-cmd internalsvc/refresh_networkvmware-vim-cmd internalsvc/refresh_network
#Sync system clock
/sbin/hwclock --systohc
#VLAN 0 for SC
#esxcfg-vswitch --vlan 0 --pg "Service Console" vSwitch0
EOF1
# Make esxcfg.sh eXcutable
chmod +x /tmp/esxcfg.sh
# Backup original rc.local file
cp /etc/rc.d/rc.local /etc/rc.d/rc.local.bak
# Make esxcfg.sh run from rc.local and make rc.local reset itself
cat >> /etc/rc.d/rc.local <<EOF
cd /tmp
/tmp/esxcfg.sh
mv -f /etc/rc.d/rc.local.bak /etc/rc.d/rc.local
reboot
EOF
##########################################################################