Andrey Drobyshev
2022-Dec-09 18:36 UTC
[Libguestfs] [PATCH] m4/guestfs-appliance.m4: add VIRTUOZZO to RedHat-based distros
This allows to detect VzLinux guest. Signed-off-by: Pavel Butsykin <pbutsykin at virtuozzo.com> Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com> --- m4/guestfs-appliance.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/guestfs-appliance.m4 b/m4/guestfs-appliance.m4 index 16ab3212d..3b97825c4 100644 --- a/m4/guestfs-appliance.m4 +++ b/m4/guestfs-appliance.m4 @@ -115,7 +115,7 @@ if test "x$ENABLE_APPLIANCE" = "xyes"; then )" AS_CASE([$DISTRO], [FEDORA | RHEL | CENTOS | ALMALINUX | CLOUDLINUX \ - | ROCKY], + | ROCKY | VIRTUOZZO], [DISTRO=REDHAT], [OPENSUSE* | SLED | SLES],[DISTRO=SUSE], [ARCH | MANJARO | ARTIX],[DISTRO=ARCHLINUX], -- 2.38.1
Denis V. Lunev
2022-Dec-09 18:50 UTC
[Libguestfs] [PATCH] m4/guestfs-appliance.m4: add VIRTUOZZO to RedHat-based distros
On 12/9/22 19:36, Andrey Drobyshev wrote:> This allows to detect VzLinux guest. > > Signed-off-by: Pavel Butsykin <pbutsykin at virtuozzo.com> > Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com> > --- > m4/guestfs-appliance.m4 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/m4/guestfs-appliance.m4 b/m4/guestfs-appliance.m4 > index 16ab3212d..3b97825c4 100644 > --- a/m4/guestfs-appliance.m4 > +++ b/m4/guestfs-appliance.m4 > @@ -115,7 +115,7 @@ if test "x$ENABLE_APPLIANCE" = "xyes"; then > )" > AS_CASE([$DISTRO], > [FEDORA | RHEL | CENTOS | ALMALINUX | CLOUDLINUX \ > - | ROCKY], > + | ROCKY | VIRTUOZZO], > [DISTRO=REDHAT], > [OPENSUSE* | SLED | SLES],[DISTRO=SUSE], > [ARCH | MANJARO | ARTIX],[DISTRO=ARCHLINUX],pls sent to mainstream.