Hi

I can’t recall when it changed, but these days you have to use “<%= 
foreman_url('built') %>” instead of just “<%= foreman_url %>”

Kind regards,
Alex
> On 19 Oct 2017, at 06:46, No1 <[email protected]> wrote:
> 
> 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.

-- 
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