Displaying 3 results from an estimated 3 matches for "make_virt_install_command".
2017 Jul 10
0
[PATCH 5/5] builder: templates: pass empty proxy to d-i when not set
.../make-template.ml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/builder/templates/make-template.ml b/builder/templates/make-template.ml
index 164e146..fe9a44f 100755
--- a/builder/templates/make-template.ml
+++ b/builder/templates/make-template.ml
@@ -726,7 +726,11 @@ and make_virt_install_command os arch ks tmpname tmpout tmpefivars location
let proxy =
let p = try Some (Sys.getenv "http_proxy") with Not_found -> None in
match p with
- | None -> ""
+ | None ->
+ (match os with
+ | Fedora _ | RHEL _ | CentOS _ | Ubuntu _ -> "...
2017 Jul 10
7
[PATCH 0/5] various improvements for make-template.mk
Hi,
this series improves the generation of Debian templates, automating
basically almost all the steps needed.
Also, it fixes the generation of aarch64 images with NVRAM, which is
currently removed too soon, and thus not saved and compressed.
Thanks,
Pino Toscano (5):
builder: templates: update Debian preseed from Stretch
builder: templates: generalize debian location
builder: templates:
2016 Nov 28
2
[PATCH] builder: Rearrange how template-building scripts work.
...hare/edk2/aarch64/vars-template-pflash.raw %s"
+ (quote vars) in
+ if Sys.command cmd <> 0 then exit 1;
+ Some ("/usr/share/edk2/aarch64/QEMU_EFI-pflash.raw", vars)
+ | _ -> None in
+
+ (* Now construct the virt-install command. *)
+ let vi = make_virt_install_command os arch ks tmpname tmpout tmpefivars
+ location in
+ (* Make sure that temporary guest and temporary files are removed
+ * if we exit for any reason.
+ *)
+ let cleanup_libvirt_guest () =
+ let cmd =
+ sprintf "virsh undefine%s %s >&/dev...