Prevent devstack exit on printing warning msg
It looks the function 'warn' might return unsucessfully which abort the devstack script. Let's use echo instead. Change-Id: I931f3c649fb3637fd7be667644731329fa12cd07
This commit is contained in:
parent
e39a806b9f
commit
1f79d17844
|
@ -49,7 +49,7 @@ function install_docker {
|
|||
if uname -r | grep -q -- '-generic' && dpkg -l 'linux-image-*-generic' | grep -qE '^ii|^hi' 2>/dev/null; then
|
||||
apt_get install linux-image-extra-$(uname -r) linux-image-extra-virtual
|
||||
else
|
||||
warn $LINENO "Current kernel is not supported by the linux-image-extra-virtual package. Docker may not work."
|
||||
(>&2 echo "WARNING: Current kernel is not supported by the linux-image-extra-virtual package. Docker may not work.")
|
||||
fi
|
||||
apt_get install apt-transport-https ca-certificates software-properties-common
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
|
|
Loading…
Reference in New Issue