|
|
@ -396,6 +396,15 @@ case $IMAGEFORMAT in
|
|
|
|
candidate|beta|edge|dangerous)
|
|
|
|
candidate|beta|edge|dangerous)
|
|
|
|
MODEL="ubuntu-core-20-${MODEL#pc-}-${CHANNEL}"
|
|
|
|
MODEL="ubuntu-core-20-${MODEL#pc-}-${CHANNEL}"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
dangerous-*)
|
|
|
|
|
|
|
|
# That being said, the dangerous grade *does*
|
|
|
|
|
|
|
|
# support channel overrides, so we can use the
|
|
|
|
|
|
|
|
# dangerous model assertion and override the channel
|
|
|
|
|
|
|
|
# freely.
|
|
|
|
|
|
|
|
MODEL="ubuntu-core-20-${MODEL#pc-}-dangerous"
|
|
|
|
|
|
|
|
CHANNEL=${CHANNEL#dangerous-}
|
|
|
|
|
|
|
|
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS -c $CHANNEL"
|
|
|
|
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
*)
|
|
|
|
echo "Unknown CHANNEL ${CHANNEL} specification for ${SUITE}"
|
|
|
|
echo "Unknown CHANNEL ${CHANNEL} specification for ${SUITE}"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|