Skip to content

Instantly share code, notes, and snippets.

View blackboxsw's full-sized avatar

Chad Smith blackboxsw

View GitHub Profile
@blackboxsw
blackboxsw / esm-trusty-test-4.txt
Last active October 24, 2019 21:53
UA Tools SRU verification script procedure 4
4.
4a. Start with a fresh Ubuntu instance which does have u-a-t installed. Enable esm with 'ubuntu-advantage enable-esm'. Upgrade to u-a-t from -proposed.
4b. In an identical instance, upgrade to u-a-t from -proposed. Enable esm with 'ubuntu-advantage attach'.
4c. Confirm that the on-disk results of a) and b) are identical other than legacyToken|contractToken
export LEGACY_ESM_TOKEN=<ppauser:password>
export UA_CONTRACT_TOKEN=<NewContractToken>
export ARCHIVE_URL=http://archive.ubuntu.com/ubuntu
echo -- BEGIN test 4a: enable esm via `ubuntu-advantage enable-esm` on typical trusty-updates cloud-images which already have -updates installed