Displaying 20 results from an estimated 22 matches for "elvl".
2020 Mar 02
2
[PATCH 0/1] Delay installation of QEMU-GA
This is a replacement for previously posted patch "Delay firstboot scripts to
some later time":
https://www.redhat.com/archives/libguestfs/2019-November/msg00134.html
Instead of delaying all the firstboot scripts we just delay the QEMU-GA
installation that we know is problematic. I will possibly send a similar patch
for RHEV-APT installation later.
Tom?? Golembiovsk? (1):
windows:
2020 Mar 03
2
[PATCH v3] windows: delay installation of qemu-ga MSI
...onvert_windows.ml
+++ b/v2v/convert_windows.ml
@@ -429,14 +429,10 @@ popd
List.iter (
fun msi_path ->
let fb_script = "\
-echo Installing qemu-ga from " ^ msi_path ^ "
-\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
-set elvl=!errorlevel!
-echo Done installing qemu-ga error_level=!elvl!
-if !elvl! == 0 (
- echo Restarting Windows...
- shutdown /r /f /c \"rebooted by firstboot script\"
-)
+echo Removing any previously scheduled qemu-ga installation
+schtasks.exe /Delete /TN Firstboot-qemu-ga /F
+echo Scheduli...
2020 Mar 05
2
[PATCH v4] windows: delay installation of qemu-ga MSI
...ert_windows.ml
@@ -428,16 +428,13 @@ popd
and configure_qemu_ga files =
List.iter (
fun msi_path ->
- let fb_script = "\
-echo Installing qemu-ga from " ^ msi_path ^ "
-\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
-set elvl=!errorlevel!
-echo Done installing qemu-ga error_level=!elvl!
-if !elvl! == 0 (
- echo Restarting Windows...
- shutdown /r /f /c \"rebooted by firstboot script\"
-)
-" in
+ let fb_script = sprintf "\
+echo Removing any previously scheduled qemu-ga installation
+schtasks....
2020 Mar 05
1
Re: [PATCH v3] windows: delay installation of qemu-ga MSI
...29,10 @@ popd
> > List.iter (
> > fun msi_path ->
> > let fb_script = "\
> > -echo Installing qemu-ga from " ^ msi_path ^ "
> > -\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
> > -set elvl=!errorlevel!
> > -echo Done installing qemu-ga error_level=!elvl!
> > -if !elvl! == 0 (
> > - echo Restarting Windows...
> > - shutdown /r /f /c \"rebooted by firstboot script\"
> > -)
> > +echo Removing any previously scheduled qemu-ga installation
&...
2020 Mar 02
2
Re: [PATCH 1/1] windows: delay installation of qemu-ga MSI
..._windows.ml
> @@ -429,14 +429,10 @@ popd
> List.iter (
> fun msi_path ->
> let fb_script = "\
> -echo Installing qemu-ga from " ^ msi_path ^ "
> -\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
> -set elvl=!errorlevel!
> -echo Done installing qemu-ga error_level=!elvl!
> -if !elvl! == 0 (
> - echo Restarting Windows...
> - shutdown /r /f /c \"rebooted by firstboot script\"
> -)
> +echo Removing any previously scheduled qemu-ga installation
> +schtasks.exe /Delete /TN...
2016 May 12
0
[PATCH 03/11] customize: fix windows firstboot script
...quot;%%log%%\" 2>&1
+call :main >> \"%%log%%\" 2>&1
exit /b
:main
@@ -244,15 +244,14 @@ if not exist \"%%scripts_done%%\" (
for %%%%f in (\"%%scripts%%\"\\*.bat) do (
echo running \"%%%%f\"
- call \"%%%%f\"
- set elvl=!errorlevel!
- echo .... exit code !elvl!
- if !elvl! equ 0 (
- move \"%%%%f\" \"%%scripts_done%%\"
- )
+ move \"%%%%f\" \"%%scripts_done%%\"
+ pushd \"%%scripts_done%%\"
+ call \"%%%%~nf\"
+ popd
)
echo uninstalling firstboo...
2016 May 13
0
Re: [PATCH 03/11] customize: fix windows firstboot script
...; > exit /b
> >
> > :main
> > @@ -244,15 +244,14 @@ if not exist \"%%scripts_done%%\" (
> >
> > for %%%%f in (\"%%scripts%%\"\\*.bat) do (
> > echo running \"%%%%f\"
> > - call \"%%%%f\"
> > - set elvl=!errorlevel!
> > - echo .... exit code !elvl!
> > - if !elvl! equ 0 (
> > - move \"%%%%f\" \"%%scripts_done%%\"
> > - )
> > + move \"%%%%f\" \"%%scripts_done%%\"
> > + pushd \"%%scripts_done%%\"
> >...
2016 May 13
0
Re: [PATCH 03/11] customize: fix windows firstboot script
...> @@ -244,15 +244,14 @@ if not exist \"%%scripts_done%%\" (
> > > >
> > > > for %%%%f in (\"%%scripts%%\"\\*.bat) do (
> > > > echo running \"%%%%f\"
> > > > - call \"%%%%f\"
> > > > - set elvl=!errorlevel!
> > > > - echo .... exit code !elvl!
> > > > - if !elvl! equ 0 (
> > > > - move \"%%%%f\" \"%%scripts_done%%\"
> > > > - )
> > > > + move \"%%%%f\" \"%%scripts_done%%\"
> >...
2016 May 23
0
[PATCH v3 1/3] customize: fix windows firstboot script
...not exist \"%%scripts_done%%\" (
for %%%%f in (\"%%scripts%%\"\\*.bat) do (
echo running \"%%%%f\"
- call \"%%%%f\"
+ move \"%%%%f\" \"%%scripts_done%%\"
+ pushd \"%%scripts_done%%\"
+ call \"%%%%~nf\"
set elvl=!errorlevel!
echo .... exit code !elvl!
- if !elvl! equ 0 (
- move \"%%%%f\" \"%%scripts_done%%\"
- )
+ popd
)
echo uninstalling firstboot service
--
2.6.6
2020 Feb 05
0
[PATCH v2 2/2] windows: small tweaks of qemu-ga firstboot script
...si_path ->
let fb_script = "\
echo Installing qemu-ga from " ^ msi_path ^ "
-\"\\" ^ msi_path ^ "\" /qn /forcerestart /l+*vx \"%cd%\\qemu-ga.log\"
+\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
+set elvl=!errorlevel!
+echo Done installing qemu-ga error_level=!elvl!
+if !elvl! == 0 (
+ echo Restarting Windows...
+ shutdown /r /f /c \"rebooted by firstboot script\"
+)
" in
Firstboot.add_firstboot_script g inspect.i_root
("install " ^ msi_path) fb_script;
--...
2020 Mar 02
0
[PATCH 1/1] windows: delay installation of qemu-ga MSI
...onvert_windows.ml
+++ b/v2v/convert_windows.ml
@@ -429,14 +429,10 @@ popd
List.iter (
fun msi_path ->
let fb_script = "\
-echo Installing qemu-ga from " ^ msi_path ^ "
-\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
-set elvl=!errorlevel!
-echo Done installing qemu-ga error_level=!elvl!
-if !elvl! == 0 (
- echo Restarting Windows...
- shutdown /r /f /c \"rebooted by firstboot script\"
-)
+echo Removing any previously scheduled qemu-ga installation
+schtasks.exe /Delete /TN Firstboot-qemu-ga /F
+echo Scheduli...
2020 Mar 03
0
[PATCH v2] windows: delay installation of qemu-ga MSI
...onvert_windows.ml
+++ b/v2v/convert_windows.ml
@@ -429,14 +429,10 @@ popd
List.iter (
fun msi_path ->
let fb_script = "\
-echo Installing qemu-ga from " ^ msi_path ^ "
-\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
-set elvl=!errorlevel!
-echo Done installing qemu-ga error_level=!elvl!
-if !elvl! == 0 (
- echo Restarting Windows...
- shutdown /r /f /c \"rebooted by firstboot script\"
-)
+echo Removing any previously scheduled qemu-ga installation
+schtasks.exe /Delete /TN Firstboot-qemu-ga /F
+echo Scheduli...
2015 Feb 27
0
[PATCH 2/4] firstboot: enhance firstboot driver script for Windows
...ot;%%log%%\" 2>&1
+exit /b
+
+:main
+echo starting firstboot service
+
+if not exist \"%%scripts_done%%\" (
+ mkdir \"%%scripts_done%%\"
+)
+
+for %%%%f in (\"%%scripts%%\"\\*.bat) do (
+ echo running \"%%%%f\"
+ call \"%%%%f\"
+ set elvl=!errorlevel!
+ echo .... exit code !elvl!
+ if !elvl! equ 0 (
+ move \"%%%%f\" \"%%scripts_done%%\"
+ )
+)
+
+echo uninstalling firstboot service
+rhsrvany.exe -s firstboot uninstall
+" firstboot_dir_win in
g#write (firstboot_dir // "firstboot.bat") (...
2020 Feb 05
3
[PATCH v2 0/2] Fixes and tweak to the installation of qemu-ga MSI
This, together with the changes to common repo are fixes to the installation
qemu-ga MSI.
There is still an issue that I did not figure yet how to fix. On Windows 10 it
fails to register the QEMU-GA service.
Tomáš Golembiovský (2):
windows: fix detection of qemu-ga installer on RHV
windows: small tweaks of qemu-ga firstboot script
v2v/convert_windows.ml | 8 +++++++-
v2v/windows_virtio.ml
2020 Mar 10
0
Re: [PATCH v4] windows: delay installation of qemu-ga MSI
...@ popd
> and configure_qemu_ga files =
> List.iter (
> fun msi_path ->
> - let fb_script = "\
> -echo Installing qemu-ga from " ^ msi_path ^ "
> -\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
> -set elvl=!errorlevel!
> -echo Done installing qemu-ga error_level=!elvl!
> -if !elvl! == 0 (
> - echo Restarting Windows...
> - shutdown /r /f /c \"rebooted by firstboot script\"
> -)
> -" in
> + let fb_script = sprintf "\
> +echo Removing any previously s...
2020 Mar 03
0
Re: [PATCH 1/1] windows: delay installation of qemu-ga MSI
...29,10 @@ popd
> > List.iter (
> > fun msi_path ->
> > let fb_script = "\
> > -echo Installing qemu-ga from " ^ msi_path ^ "
> > -\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
> > -set elvl=!errorlevel!
> > -echo Done installing qemu-ga error_level=!elvl!
> > -if !elvl! == 0 (
> > - echo Restarting Windows...
> > - shutdown /r /f /c \"rebooted by firstboot script\"
> > -)
> > +echo Removing any previously scheduled qemu-ga installation
&...
2020 Mar 05
0
Re: [PATCH v3] windows: delay installation of qemu-ga MSI
..._windows.ml
> @@ -429,14 +429,10 @@ popd
> List.iter (
> fun msi_path ->
> let fb_script = "\
> -echo Installing qemu-ga from " ^ msi_path ^ "
> -\"\\" ^ msi_path ^ "\" /norestart /qn /l+*vx \"%~dpn0.log\"
> -set elvl=!errorlevel!
> -echo Done installing qemu-ga error_level=!elvl!
> -if !elvl! == 0 (
> - echo Restarting Windows...
> - shutdown /r /f /c \"rebooted by firstboot script\"
> -)
> +echo Removing any previously scheduled qemu-ga installation
> +schtasks.exe /Delete /TN...
2019 Nov 21
7
[PATCH 0/2] Fixes and tweak to the installation of qemu-ga MSI
This, together with the changes to common repo are fixes to the installation
qemu-ga MSI.
There is still an issue that I did not figure yet how to fix. On Windows 10 it
fails to register the QEMU-GA service.
Tomáš Golembiovský (2):
windows: fix detection of qemu-ga installer on RHV
windows: small tweaks of qemu-ga firstboot script
v2v/convert_windows.ml | 8 +++++++-
v2v/windows_virtio.ml
2016 May 12
24
[PATCH 00/11] Getting it work with SLES / openSUSE
Hi there!
I know it's been a while since I posted my first version of some patches.
But here I have rebased them on top of Roman's work and added a few other ones.
Cédric Bosdonnat (11):
v2v: also search for windows virtio drivers in symlinks
Update packagelist for SLES
customize: fix windows firstboot script
customize: change windows firstboot path
customize: add support for
2015 Feb 27
5
[PATCH 0/4] firstboot: assorted enhancements
This patchset attempts to address a number of shortcomings in the
firstboot infrastructure I came across while working with v2v conversion
of various Windows VMs.
Roman Kagan (4):
firstboot: consolidate line ending conversion
firstboot: enhance firstboot driver script for Windows
firstboot: make script naming descriptive
convert_windows: split firstboot into steps