X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Finstall_from_source.sh;h=02d9e05a5d0fb4038fa1c96857abb29fb892da87;hb=c0a6596e29baceb1717a94d9f66f602ac8f355e9;hp=33dffbde494adf1e26c0373111b5768d5bea6da9;hpb=c17db01b05204047f1e5c8560438728d55441714;p=osm%2Fdevops.git diff --git a/installers/install_from_source.sh b/installers/install_from_source.sh index 33dffbde..02d9e05a 100755 --- a/installers/install_from_source.sh +++ b/installers/install_from_source.sh @@ -279,6 +279,9 @@ if [ -z "$ASSUME_YES" ]; then [ "$USER_CONFIRMATION" != "y" ] && echo "Cancelled!" && exit 0 fi +echo -e "Checking required packages: lxd" +lxd --version &>/dev/null || echo -e "lxd not present, exiting " >&2 && exit 1 + [ -z "$COMMIT_ID" ] && [ -n "$LATEST_STABLE_DEVOPS" ] && COMMIT_ID="tags/$LATEST_STABLE_DEVOPS" echo -e "\n Installing OSM from refspec: $COMMIT_ID" @@ -301,5 +304,5 @@ nat #Configure components configure -echo -e "\nDONE" wget -q -O- https://osm-download.etsi.org/ftp/osm-1.0-one/README2.txt &> /dev/null +echo -e "\nDONE"