All,
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.
Can some one please suggest how can I do it?
Thanks
-Vishal
waik_script_winpe_setup.erb (2.36 KB)
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.
···
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.
–
Dominic Cleal
dominic@cleal.org
Hi Dominic,
I have changed unattended_url as well. Still that is not taking affect.
Please see the screen shot.
Thanks,
-Vishal
···
On Friday, 15 July 2016 17:50:15 UTC+5:30, Dominic Cleal wrote:
>
> 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
> dom...@cleal.org
>