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

ubuntu/cosmic
Łukasz 'sil2100' Zemczak 6 years ago
parent 1498baada5
commit 4f6e5dc11e

@ -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

Loading…
Cancel
Save