search for: rhel_family

Displaying 13 results from an estimated 13 matches for "rhel_family".

2018 Feb 27
5
[PATCH] v2v: remove MAC address related information
...unconfigure_prltools (); + sysprep_networking(); + let kernel = configure_kernel () in if output#keep_serial_console then ( @@ -452,6 +454,21 @@ let convert (g : G.guestfs) inspect source output rcaps = msg ) + and sysprep_networking () = + if family = `RHEL_family then + (* Remove HWADDR=... entries from ifcfg-* files. *) + let paths = g#aug_match + "/files/etc/sysconfig/network-scripts/*[label() =~ glob('ifcfg-*')]/HWADDR" in + let paths = Array.to_list paths in + if paths <> [] then ( + List.iter (f...
2018 Feb 12
2
[PATCH] inspect: recognize the Kali Linux distribution (RHBZ#1544227)
Read the information from os-release, and make it behave like a Debian distribution (i.e. using dpkg, and apt). --- daemon/inspect_fs.ml | 2 ++ daemon/inspect_fs_unix.ml | 1 + daemon/inspect_types.ml | 2 ++ daemon/inspect_types.mli | 1 + generator/actions_inspection.ml | 4 ++++ 5 files changed, 10 insertions(+) diff --git a/daemon/inspect_fs.ml
2023 Feb 17
3
[PATCH v2v v2 0/3] Use host-model
Version 1 was here: https://listman.redhat.com/archives/libguestfs/2023-February/thread.html#30694 I made a few changes in v2 but overall decided to keep the now unused gcaps_arch_min_version capability. This doesn't preclude removing it in future if we think it's never going to be useful. I changed patch 1 so that to remove the long comment about how the field is used, anticipating the
2018 Feb 27
0
Re: [PATCH] v2v: remove MAC address related information
...e parentheses. > let kernel = configure_kernel () in > > if output#keep_serial_console then ( > @@ -452,6 +454,21 @@ let convert (g : G.guestfs) inspect source output rcaps = > msg > ) > > + and sysprep_networking () = > + if family = `RHEL_family then > + (* Remove HWADDR=... entries from ifcfg-* files. *) > + let paths = g#aug_match > + "/files/etc/sysconfig/network-scripts/*[label() =~ glob('ifcfg-*')]/HWADDR" in > + let paths = Array.to_list paths in > + if paths <> [] the...
2020 Aug 24
0
[PATCH v2v] Add ALT support
...f4..5ae83a2f66 100644 --- a/v2v/convert_linux.ml +++ b/v2v/convert_linux.ml @@ -52,6 +52,7 @@ let convert (g : G.guestfs) inspect source_disks output rcaps _ = | "rhel" | "centos" | "scientificlinux" | "redhat-based" | "oraclelinux" -> `RHEL_family | "sles" | "suse-based" | "opensuse" -> `SUSE_family + | "altlinux" -> `ALT_family | "debian" | "ubuntu" | "linuxmint" | "kalilinux" -> `Debian_family | _ -> assert false in @@ -372,6 +37...
2018 Feb 27
1
Re: [PATCH] v2v: remove MAC address related information
...onfigure_kernel () in > > > > if output#keep_serial_console then ( > > @@ -452,6 +454,21 @@ let convert (g : G.guestfs) inspect source output rcaps = > > msg > > ) > > > > + and sysprep_networking () = > > + if family = `RHEL_family then > > + (* Remove HWADDR=... entries from ifcfg-* files. *) > > + let paths = g#aug_match > > + "/files/etc/sysconfig/network-scripts/*[label() =~ glob('ifcfg-*')]/HWADDR" in > > + let paths = Array.to_list paths in > > +...
2018 Feb 12
0
[PATCH] customize, sysprep, v2v: handle Kali Linux as Debian
...x c4625e8f8..b273785e6 100644 --- a/v2v/convert_linux.ml +++ b/v2v/convert_linux.ml @@ -52,7 +52,7 @@ let convert (g : G.guestfs) inspect source output rcaps = | "rhel" | "centos" | "scientificlinux" | "redhat-based" | "oraclelinux" -> `RHEL_family | "sles" | "suse-based" | "opensuse" -> `SUSE_family - | "debian" | "ubuntu" | "linuxmint" -> `Debian_family + | "debian" | "ubuntu" | "linuxmint" | "kalilinux" -> `Debian_family...
2020 Aug 24
2
[PATCH v2v] Add ALT support
Patch supplied by Mikhail Gordeev, posting for review. I have compile tested it and checked the code and it looks all fine to me, so ACK from my point of view. I did not actually run it because I don't have an ALT Linux install, but it doesn't seem as if it would affect any other distro. Rich.
2016 Aug 26
11
[PATCH v2 0/7] v2v: first bits of Debian/Ubuntu guests supports
Hi, this series implements the first bits in v2v to convert Debian/Ubuntu (and derived) guests. The series does not complete the support (see known issues below), but all the patches here should be fit for review and inclusion. The series does not enable the conversion, yet. Known issues: * there is no grubby nor Bootloader::Tools Perl module available in Debian, so there is no way to know
2016 Aug 08
11
[PATCH 0/8] v2v: first bits of Debian/Ubuntu guests supports
Hi, this series implements the first bits in v2v to convert Debian/Ubuntu (and derived) guests. The series does not complete the support (see known issues below), but all the patches here should be fit for review and inclusion. The series does not enable the conversion, yet. Known issues: * there is no grubby nor Bootloader::Tools Perl module available in Debian, so there is no way to know
2016 Aug 15
2
[PATCH v2] v2v: factor out bootloader handling
...ub2 configuration file (%s). This may mean that grub output will not be sent to the serial port, but otherwise should be harmless. Original error message: %s") - grub_config msg - ) - and supports_acpi () = (* ACPI known to cause RHEL 3 to fail. *) if family = `RHEL_family && inspect.i_major_version == 3 then @@ -1296,19 +1047,9 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = let paths = [ (* /etc/fstab *) "/files/etc/fstab/*/spec"; - - (* grub-legacy config *) - "/files" ^ grub_c...
2016 Aug 15
0
Re: [PATCH v2] v2v: factor out bootloader handling
...This may mean that grub output will not be sent to the serial port, but otherwise should be harmless. Original error message: %s") > - grub_config msg > - ) > - > and supports_acpi () = > (* ACPI known to cause RHEL 3 to fail. *) > if family = `RHEL_family && inspect.i_major_version == 3 then > @@ -1296,19 +1047,9 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = > let paths = [ > (* /etc/fstab *) > "/files/etc/fstab/*/spec"; > - > - (* grub-legacy config *) >...
2016 Aug 25
2
[PATCH v2] v2v: factor out bootloader handling
...ub2 configuration file (%s). This may mean that grub output will not be sent to the serial port, but otherwise should be harmless. Original error message: %s") - grub_config msg - ) - and supports_acpi () = (* ACPI known to cause RHEL 3 to fail. *) if family = `RHEL_family && inspect.i_major_version == 3 then @@ -1303,19 +1046,9 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = let paths = [ (* /etc/fstab *) "/files/etc/fstab/*/spec"; - - (* grub-legacy config *) - "/files" ^ grub_c...