Hi,

I am trying to install the Esxi 6.0 using foreman and the process is 
completely successfully without any issues. However, the build status in 
the foreman is always in the  "Pending Installation" status. I tried to use 
the script that other suggested as informing the foreman as 'built' using 
post installation script, But, it doesn't change anything.

vmaccepteula
 
# Set the root password
rootpw Melody1! 
# Install on first disk.
install --firstdisk --overwritevmfs
# Set the network to DHCP on the first network adapter.
network --bootproto=dhcp --device=vmnic0
reboot
# First boot script.
%firstboot --interpreter=busybox
%post --interpreter=busybox
# Fix DNS.
%post --interpreter=busybox
# Add temporary DNS resolution so the foreman call works
echo "nameserver <%= @host.subnet.dns_primary %>" >> /etc/resolv.conf
wget -O /dev/null <%= foreman_url %>
echo "Done with Foreman call"
exit 0


Please advice on it?

 

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to