For the pc model, the name changed so we need to special case it a bit.

This commit is contained in:
Łukasz 'sil2100' Zemczak 2018-10-11 17:12:50 +02:00
parent 1498baada5
commit 4f6e5dc11e

View File

@ -191,7 +191,7 @@ case $IMAGEFORMAT in
;;
*)
# Ubuntu Core 18
MODEL="ubuntu-core-18-$MODEL" ;;
MODEL="ubuntu-core-18-${MODEL#pc-}" ;;
esac
echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/common