From afb3f62b01a9fb464cfd38d03c17249b66dbf7c5 Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Sat, 14 May 2022 19:54:26 -0700 Subject: [PATCH] scripts/installer.sh: add Xen Enterprise Tested on a VM running Xen Enterprise 8.2.1. https://xcp-ng.org/ Fixes https://github.com/tailscale/tailscale/issues/4655 Signed-off-by: Denton Gentry --- scripts/installer.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/installer.sh b/scripts/installer.sh index f2b8c335b..2eabb9233 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -161,6 +161,11 @@ main() { VERSION="$VERSION_ID" PACKAGETYPE="yum" ;; + xenenterprise) + OS="centos" + VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)" + PACKAGETYPE="yum" + ;; opensuse-leap) OS="opensuse" VERSION="leap/$VERSION_ID"