[ZFSOnLinux] Allow devstack bootstrap in Ubuntu > 16.04
The package seems to be present and maintained in the ubuntu repositories for all releases following Xenial Xerus. [1] https://packages.ubuntu.com/search?keywords=zfsutils-linux Change-Id: If212e0482b360f3c3888918242dba6a710ab2818 Needed-By: https://review.openstack.org/#/c/604929/
This commit is contained in:
parent
5ef1a71dc4
commit
9f0b35b807
@ -718,11 +718,12 @@ function install_manila {
|
||||
sudo apt-get install -y linux-headers-generic
|
||||
sudo apt-get install -y build-essential
|
||||
sudo apt-get install -y ubuntu-zfs
|
||||
elif [[ $(lsb_release -s -d) == *"16.04"* ]]; then
|
||||
# Xenial
|
||||
|
||||
elif [[ $(echo $(lsb_release -rs) '>=' 16.04 | bc -l) == 1 ]]; then
|
||||
# Xenial and beyond
|
||||
sudo apt-get install -y zfsutils-linux
|
||||
else
|
||||
echo "Only 'Trusty' and 'Xenial' releases of Ubuntu are supported."
|
||||
echo "Only 'Trusty', 'Xenial' and newer releases of Ubuntu are supported."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user