On 15/07/16 13:18, Vishal Sarin wrote: > Currently my WAIK Script for windows template looks like this. > > echo Downloading unattend.xml > %WGET% --no-verbose > http://sdin-swt-ct-04.global.xyz.com:8000/unattended/provision?token=b0c246b1-823a-4d8d-bc0d-fac7a5b632c7 > -O c:\Windows\Panther\unattend.xml > > echo Downloading finsh script and activating SetupComplete.cmd > md c:\deploy > %WGET% --no-verbose > http://sdin-swt-ct-04.global.xyz.com:8000/unattended/finish?token=b0c246b1-823a-4d8d-bc0d-fac7a5b632c7 > -O C:\deploy\foreman-finish.bat > > I have DNS Issues and would like to change this to look like as > > %WGET% --no-verbose > http://10.11.120.130:8000/unattended/finish?token=b0c246b1-823a-4d8d-bc0d-fac7a5b632c7 > -O C:\deploy\foreman-finish.bat > > The Waik Script looks like (snippet), complete file is attached. > > echo Downloading unattend.xml > %WGET% --no-verbose <%= foreman_url("provision") -%> -O > c:\Windows\Panther\unattend.xml > > echo Downloading finsh script and activating SetupComplete.cmd > md c:\deploy > %WGET% --no-verbose <%= foreman_url("finish") -%> -O > C:\deploy\foreman-finish.bat > > I have changed foreman_url in settings still I see hostname only.
Change "unattended_url" under the Provisioning tab instead. foreman_url is used in things like e-mails for users to access the UI, while unattended_url is for provisioning-related URLs. -- Dominic Cleal [email protected] -- 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.
