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]>
This commit is contained in:
Denton Gentry authored and Denton Gentry committed 2022-05-16 08:37:39 -07:00
1 parent da601c23e1
commit afb3f62b01
1 file changed
+5
+5
View File
@@ -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"