Displaying 15 results from an estimated 15 matches for "firstboot_dir_win".
2016 Apr 05
0
[PATCH 3/7] customize: add support for pvvxsvc
...This file is required in order to install Windows firstboot scripts. You can get it by building rhsrvany (https://github.com/rwmjones/rhsrvany). Original error: %s")
- rhsrvany_exe msg
- );
-
- (* Create a directory for firstboot files in the guest. *)
- let firstboot_dir, firstboot_dir_win =
- let rec loop firstboot_dir firstboot_dir_win = function
- | [] -> firstboot_dir, firstboot_dir_win
- | dir :: path ->
- let firstboot_dir =
- if firstboot_dir = "" then "/" ^ dir else firstboot_dir // dir in
- let firstbo...
2016 May 12
0
[PATCH 05/11] customize: add support for pvvxsvc
...issing in %s. One of them is required in order to install Windows firstboot scripts. You can get one by building rhsrvany (https://github.com/rwmjones/rhsrvany)")
+ virt_tools_data_dir
+ ) in
(* Create a directory for firstboot files in the guest. *)
let firstboot_dir, firstboot_dir_win =
@@ -215,8 +223,8 @@ module Windows = struct
g#mkdir_p (firstboot_dir // "scripts");
- (* Copy rhsrvany to the guest. *)
- g#upload rhsrvany_exe (firstboot_dir // "rhsrvany.exe");
+ (* Copy pvvxsvc or rhsrvany to the guest. *)
+ g#upload (virt_tools_data_di...
2016 May 18
0
[PATCH v2 05/11] customize: add support for pvvxsvc
...xe is missing in %s. One of them is required in order to install Windows firstboot scripts. You can get one by building rhsrvany (https://github.com/rwmjones/rhsrvany)")
+ virt_tools_data_dir in
(* Create a directory for firstboot files in the guest. *)
let firstboot_dir, firstboot_dir_win =
@@ -215,8 +221,8 @@ module Windows = struct
g#mkdir_p (firstboot_dir // "scripts");
- (* Copy rhsrvany to the guest. *)
- g#upload rhsrvany_exe (firstboot_dir // "rhsrvany.exe");
+ (* Copy pvvxsvc or rhsrvany to the guest. *)
+ g#upload (virt_tools_data_di...
2016 May 18
21
[PATCH v2 00/11] Getting it work with SLES / openSUSE
Hi all,
v2 includes all comments from Pino and Richard. I also removed the
mkdir /run/lvm in the init since it only failed in one case and couldn't
reproduce it anymore.
Cédric Bosdonnat (11):
v2v: also search for windows virtio drivers in symlinks
Update packagelist for SLES and openSUSE
customize: fix windows firstboot script
customize: change windows firstboot path
customize:
2016 Apr 05
22
[PATCH 0/7] Add support for SUSE virtio windows drivers
Hi there,
SUSE ships Virtual Machine Driver Pack for the virtio windows drivers. Get v2v
and customize to discover them and use them if available.
Cédric Bosdonnat (7):
v2v: check next free oem%d.inf in /Windows/Inf
v2v: extract controller offset discovery as a function
customize: add support for pvvxsvc
v2v: extract reusable parts of viostor regedits
v2v: adapt the subkey in Enum
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
2019 Nov 21
4
[PATCH 0/2] Delay firstboot scripts to some later time
When firstboot is used from virt-v2v the scripts, if not fast enough, can get
killed by Windows. After windows installs virtio drivers injected by virt-v2v
it performs some internall reboot, stopping all the running services and
killing any running firstboot script. This is problem mostly for MSI installs
(like qemu-ga that was added recently) that can take several seconds to finish.
This change
2016 May 12
0
[PATCH 03/11] customize: fix windows firstboot script
...ot;%%scripts_done%%\"
- )
+ move \"%%%%f\" \"%%scripts_done%%\"
+ pushd \"%%scripts_done%%\"
+ call \"%%%%~nf\"
+ popd
)
echo uninstalling firstboot service
+rmdir /S /Q \"%%scripts_done%%\"
rhsrvany.exe -s firstboot uninstall
" firstboot_dir_win in
--
2.6.6
2016 May 12
0
[PATCH 04/11] customize: change windows firstboot path
...uestfs\Firstboot\log.txt>.
=back
diff --git a/customize/firstboot.ml b/customize/firstboot.ml
index 83bd808..4167098 100644
--- a/customize/firstboot.ml
+++ b/customize/firstboot.ml
@@ -211,7 +211,7 @@ module Windows = struct
g#mkdir_p firstboot_dir;
loop firstboot_dir firstboot_dir_win path
in
- loop "" "C:" ["Program Files"; "Red Hat"; "Firstboot"] in
+ loop "" "C:" ["Program Files"; "Guestfs"; "Firstboot"] in
g#mkdir_p (firstboot_dir // "scripts"...
2016 May 13
0
Re: [PATCH 03/11] customize: fix windows firstboot script
...n both linux and
windows cases in another commit. This one is only catching up what we
have in the linux case.
For the debugging purpose, couldn't we delete the successfully run
scripts one by one after they have run?
--
Cedric
> > rhsrvany.exe -s firstboot uninstall
> > " firstboot_dir_win in
> >
2019 Nov 21
0
[PATCH 1/2] firstboot: use absolute path to rhsrvany
...l
index a8f4ef7..c3ebfd9 100644
--- a/mlcustomize/firstboot.ml
+++ b/mlcustomize/firstboot.ml
@@ -307,7 +307,7 @@ for %%%%f in (\"%%scripts%%\"\\*.bat) do (
)
echo uninstalling firstboot service
-%s -s firstboot uninstall
+\"%%firstboot%%\\%s\" -s firstboot uninstall
" firstboot_dir_win srvany in
g#write (firstboot_dir // "firstboot.bat")
--
2.24.0
2015 Feb 27
0
[PATCH 2/4] firstboot: enhance firstboot driver script for Windows
...) 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") (unix2dos firstboot_script);
--
2.1.0
2016 May 18
0
[PATCH v2 04/11] customize: change windows firstboot path
...uestfs\Firstboot\log.txt>.
=back
diff --git a/customize/firstboot.ml b/customize/firstboot.ml
index 83bd808..4167098 100644
--- a/customize/firstboot.ml
+++ b/customize/firstboot.ml
@@ -211,7 +211,7 @@ module Windows = struct
g#mkdir_p firstboot_dir;
loop firstboot_dir firstboot_dir_win path
in
- loop "" "C:" ["Program Files"; "Red Hat"; "Firstboot"] in
+ loop "" "C:" ["Program Files"; "Guestfs"; "Firstboot"] in
g#mkdir_p (firstboot_dir // "scripts"...
2017 Feb 18
11
[PATCH 0/8] Miscellaneous cleanups to Windows registry code.
A very miscellaneous set of cleanups to how we handle the Windows
registry in virt-v2v, firstboot, and inspection code. This should all
be straightforward non-controversial refactoring. Some highlights:
- Add a new mllib Registry module containing various utility
functions that are currently scattered all around.
- Only compute the software/system hive paths once during inspection,
and
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