Browse Source

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 <[email protected]>
Denton Gentry 3 years ago
parent
commit
afb3f62b01
1 changed files with 5 additions and 0 deletions
  1. 5 0
      scripts/installer.sh

+ 5 - 0
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"