mirror of
https://github.com/ronivay/XenOrchestraInstallerUpdater.git
synced 2026-09-10 20:00:52 -05:00
feat: add support for Debian 13
This commit is contained in:
@@ -147,12 +147,13 @@ deb:
|
||||
- lvm2
|
||||
- nfs-common
|
||||
- cifs-utils
|
||||
- gnupg (debian 10/11)
|
||||
- gnupg (debian 10/11/12/13)
|
||||
- software-properties-common (ubuntu)
|
||||
- ntfs-3g
|
||||
- dmidecode
|
||||
- sudo (if set in xo-install.cfg)
|
||||
- patch
|
||||
- libfuse2t64 (debian 13)
|
||||
```
|
||||
|
||||
Following repositories will be installed if needed and repository install is enabled in xo-install.cfg
|
||||
|
||||
@@ -309,11 +309,20 @@ function InstallDependenciesDeb {
|
||||
runcmd "apt-get install -y apt-transport-https ca-certificates"
|
||||
printok "Installing apt-transport-https and ca-certificates packages to support https repos"
|
||||
|
||||
if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" =~ ^(10|11|12)$ ]]; then
|
||||
if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" =~ ^(10|11|12|13)$ ]]; then
|
||||
echo
|
||||
printprog "Debian 10/11/12, so installing gnupg also"
|
||||
printprog "Debian 10/11/12/13, so installing gnupg also"
|
||||
runcmd "apt-get install gnupg -y"
|
||||
printok "Debian 10/11/12, so installing gnupg also"
|
||||
printok "Debian 10/11/12/13, so installing gnupg also"
|
||||
fi
|
||||
|
||||
# Debian 13 doesn't come with libfuse2 anymore
|
||||
# it needs to be installed specifically as XO relies on it for now
|
||||
if [[ "$OSNAME" == "Debian" ]] && [[ "$OSVERSION" == 13 ]]; then
|
||||
echo
|
||||
printprog "Debian 13, so installing libfuse2t64"
|
||||
runcmd "apt-get install libfuse2t64 -y"
|
||||
printok "Debian 13, so installing libfuse2t64"
|
||||
fi
|
||||
|
||||
# install setcap for non-root port binding if missing
|
||||
@@ -1334,8 +1343,8 @@ function CheckOS {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11|12)$ ]]; then
|
||||
printfail "Only Debian 10/11/12 supported"
|
||||
if [[ "$OSNAME" == "Debian" ]] && [[ ! "$OSVERSION" =~ ^(10|11|12|13)$ ]]; then
|
||||
printfail "Only Debian 10/11/12/13 supported"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user