Comment 4 for bug 1621229

Revision history for this message
Scott Moser (smoser) wrote :

This can also be worked around specifically for this snapd update by a hold on snapd package.

#cloud-config
#
# package_upgrade true means to upgrade packages in the image causes
# upgrade of snapd (bug 1621229). upgrade of snapd triggers bug 1576692.
# http://pad.lv/1621229
# http://pad.lv/1576692
#
# holding snapd via the bootcmd below means the upgrade does not
# install a new snapd, and thus it works as desired.
package_upgrade: true
bootcmd:
  - "echo snapd hold | dpkg --set-selections"