search for: ks_filename

Displaying 3 results from an estimated 3 matches for "ks_filename".

2016 Dec 02
1
[PATCH NOT TO BE APPLIED] builder: make-template: Add --encrypted
I was attempting one way to solve: https://bugzilla.redhat.com/show_bug.cgi?id=1400332 "RFE: virt-builder should support templates with encrypted filesystems" However this approach doesn't really work because templates containing encrypted partitions cannot be compressed, and therefore the guest template would be a multi-gigabyte download. I better approach will likely be to use
2016 Nov 30
0
Re: [PATCH] builder: Rearrange how template-building scripts work.
...> + | "i686" -> I686 > + | "ppc64" -> PPC64 > + | "ppc64le" -> PPC64le > + | "s390x" -> S390X > + | _ -> > + eprintf "%s: unknown or unsupported arch\n" prog; exit 1 Ditto. > +and make_kickstart_common ks_filename os arch = > + let buf = Buffer.create 4096 in > + let bpf fs = bprintf buf fs in > + > + bpf "\ > +# Kickstart file for %s > +# Generated by libguestfs.git/builder/templates/make-template.ml > + > +install > +text > +reboot > +lang en_US.UTF-8 > +keyboard...
2016 Nov 28
2
[PATCH] builder: Rearrange how template-building scripts work.
...Ubuntu (ver, _) -> sprintf "ubuntu-%s" ver + +and is_selinux_os = function + | RHEL _ | CentOS _ | Fedora _ -> true + | Debian _ | Ubuntu _ -> false + +and make_kickstart_or_preseed os arch = + match os with + (* Kickstart. *) + | Fedora _ | CentOS _ | RHEL _ -> + let ks_filename = filename_of_os os arch ".ks" in + make_kickstart_common ks_filename os arch + + (* Preseed. *) + | Debian _ -> copy_preseed_to_temporary "debian.preseed" + | Ubuntu _ -> copy_preseed_to_temporary "ubuntu.preseed" + +and make_kickstart_common ks_filename...