Odd.  That should be better now.  If you manually run that wget without the
--quiet or --output-document options, do you get any clues?

On Thu, Oct 19, 2017 at 4:52 PM, No1 <[email protected]> wrote:

>
> Hi Alex.
>
> I tried with the option that you mentioned. But no luck in that too.
>
> The below is the kickstart cfg file that was geenrated by foreman:
>
>
> vmaccepteula
>>
>> # Set the root password
>>
>> rootpw rootPa$$
>>
>> # Install on first disk.
>> install --firstdisk --overwritevmfs
>>
>> # Set the network to DHCP on the first network adapter.
>> network --bootproto=dhcp --device=vmnic0
>>
>> # Reboot after installation.
>> reboot
>>
>> # First boot script.
>> %firstboot --interpreter=busybox
>>
>> # Fix DNS.
>> %post --interpreter=busybox
>> # Add temporary DNS resolution so the foreman call works
>> echo "nameserver 10.7.19.200" >> /etc/resolv.conf*wget --quiet 
>> --output-document=/dev/null --no-check-certificate 
>> http://foreman.mydomain.com/unattended/built?token=1980ecab-86bf-4f10-a6eb-3c1624da612c
>>  
>> <http://foreman.mydomain.com/unattended/built?token=1980ecab-86bf-4f10-a6eb-3c1624da612c>*
>> echo "Done with Foreman call"
>>
>> exit 0
>>
>>
>
>
>
>
>
> On Thursday, October 19, 2017 at 12:54:05 AM UTC-5, Alexander Fisher wrote:
>>
>> 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.
>

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