[pve-devel] [PATCH container 3/8] setup: add a additional mapping for archlinux

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Aug 1 11:28:54 CEST 2017


Allows simpler distro detection in next patch. Note the "ostype" in
the config file will be still set to "archlinux" by Setup/ArchLinux

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 src/PVE/LXC/Setup.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/LXC/Setup.pm b/src/PVE/LXC/Setup.pm
index 738507a..f05c32e 100644
--- a/src/PVE/LXC/Setup.pm
+++ b/src/PVE/LXC/Setup.pm
@@ -21,6 +21,7 @@ my $plugins = {
     fedora    => 'PVE::LXC::Setup::Fedora',
     opensuse  => 'PVE::LXC::Setup::SUSE',
     archlinux => 'PVE::LXC::Setup::ArchLinux',
+    arch      => 'PVE::LXC::Setup::ArchLinux',
     alpine    => 'PVE::LXC::Setup::Alpine',
     gentoo    => 'PVE::LXC::Setup::Gentoo',
 };
-- 
2.11.0





More information about the pve-devel mailing list