add support for Ubuntu 18
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# In a nutshell
|
# In a nutshell
|
||||||
|
|
||||||
This repo consist of script to install and update [Xen Orchestra](https://xen-orchestra.com/#!/) for CentOS 7/Ubuntu 16/Debian 8 & 9
|
This repo consist of script to install and update [Xen Orchestra](https://xen-orchestra.com/#!/) for CentOS 7/Ubuntu 18/Debian 9
|
||||||
|
|
||||||
Installation is done using latest xo-server and xo-web sources by default. With this method Xen-Orchestra has all features unlocked which are normally available only with monthly fee.
|
Installation is done using latest xo-server and xo-web sources by default. With this method Xen-Orchestra has all features unlocked which are normally available only with monthly fee.
|
||||||
|
|
||||||
@@ -60,6 +60,10 @@ Tool has been tested to work with following distros:
|
|||||||
|
|
||||||
- CentOS 7 (note LVM file level restore issue from below)
|
- CentOS 7 (note LVM file level restore issue from below)
|
||||||
- Debian 9
|
- Debian 9
|
||||||
|
- Ubuntu 18.04
|
||||||
|
|
||||||
|
Installation works but not tested frequently:
|
||||||
|
- Debian 8
|
||||||
- Ubuntu 16.04
|
- Ubuntu 16.04
|
||||||
|
|
||||||
In order to use file level restore from delta backups, the service needs to be ran as root.
|
In order to use file level restore from delta backups, the service needs to be ran as root.
|
||||||
|
2
tests/Ubuntu/Vagrantfile
vendored
2
tests/Ubuntu/Vagrantfile
vendored
@@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
|
|||||||
|
|
||||||
# Every Vagrant development environment requires a box. You can search for
|
# Every Vagrant development environment requires a box. You can search for
|
||||||
# boxes at https://atlas.hashicorp.com/search.
|
# boxes at https://atlas.hashicorp.com/search.
|
||||||
config.vm.box = "ubuntu/xenial64"
|
config.vm.box = "ubuntu/bionic64"
|
||||||
|
|
||||||
# Disable automatic box update checking. If you disable this, then
|
# Disable automatic box update checking. If you disable this, then
|
||||||
# boxes will only be checked for updates when the user runs
|
# boxes will only be checked for updates when the user runs
|
||||||
|
@@ -610,12 +610,12 @@ function CheckOS {
|
|||||||
if [[ $OSNAME == "Debian" ]] && [[ ! $OSVERSION =~ ^(8|9)$ ]]; then
|
if [[ $OSNAME == "Debian" ]] && [[ ! $OSVERSION =~ ^(8|9)$ ]]; then
|
||||||
echo "Only Debian 8/9 supported"
|
echo "Only Debian 8/9 supported"
|
||||||
exit 0
|
exit 0
|
||||||
elif [[ $OSNAME == "Ubuntu" ]] && [[ ! $OSVERSION == "16" ]]; then
|
elif [[ $OSNAME == "Ubuntu" ]] && [[ ! $OSVERSION =~ ^(16|18)$ ]]; then
|
||||||
echo "Only Ubuntu 16 supported"
|
echo "Only Ubuntu 16/18 supported"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Only CentOS 7 / Ubuntu 16 and Debian 8/9 supported"
|
echo "Only CentOS 7 / Ubuntu 16/18 and Debian 8/9 supported"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user