|
|
@ -20,6 +20,7 @@ case ${SUBPROJECT:-} in
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
. config/binary
|
|
|
|
. config/binary
|
|
|
|
|
|
|
|
. config/functions
|
|
|
|
|
|
|
|
|
|
|
|
# env SNAPPY_STORE_NO_CDN=1 snap known --remote model series=16 brand-id=canonical model=ubuntu-installer-classic-2310-amd64 > config/classic-model-installer.model
|
|
|
|
# env SNAPPY_STORE_NO_CDN=1 snap known --remote model series=16 brand-id=canonical model=ubuntu-installer-classic-2310-amd64 > config/classic-model-installer.model
|
|
|
|
cat <<EOF > config/classic-model-installer.model
|
|
|
|
cat <<EOF > config/classic-model-installer.model
|
|
|
@ -130,6 +131,9 @@ channel=""
|
|
|
|
if [ -n "${CHANNEL:-}" ]; then
|
|
|
|
if [ -n "${CHANNEL:-}" ]; then
|
|
|
|
channel="--channel $CHANNEL"
|
|
|
|
channel="--channel $CHANNEL"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reset_snapd_state chroot
|
|
|
|
|
|
|
|
|
|
|
|
env SNAPPY_STORE_NO_CDN=1 snap prepare-image \
|
|
|
|
env SNAPPY_STORE_NO_CDN=1 snap prepare-image \
|
|
|
|
--classic config/classic-model-installer.model $channel chroot
|
|
|
|
--classic config/classic-model-installer.model $channel chroot
|
|
|
|
mv chroot/system-seed/systems/* chroot/system-seed/systems/classic-installer
|
|
|
|
mv chroot/system-seed/systems/* chroot/system-seed/systems/classic-installer
|
|
|
|