To answer my own question: yes this is possible, by using a cloud-init style user data blob:
#cloud-init package_update: false package_upgrade: false package_reboot_if_required: false On Thu, 23 Sept 2021 at 11:17, Dick Visser <[email protected]> wrote: > > Hi > > I noticed that newly created bullseye-amd64 AWS instances auto > update/reboot themselves at instantiating time. > We would like to do that ourselves, so the process is more > predictable. The auto reboots currently cause issues during our > deployment because it is not possible to predict if/when they happen. > > Is there a way to override this behavior? Perhaps by having some > flags/code in the user_data? > > many thanks > > -- > Dick Visser > Trust & Identity Service Operations Manager > GÉANT -- Dick Visser Trust & Identity Service Operations Manager GÉANT
