Skip to content

Allow to update the packages at boot #2129

Closed
@afbjorklund

Description

@afbjorklund

Description

It would be nice (as an option) if the VM started out fully updated, before it opened for logins.

That would allow you to start with for an instance an updated kernel, on systems like Fedora*.

* that only make a new ISO every release, but have a lot of package updates inbetween those

The preferred solution would be to use an updated image for the template, if one is available.


https://cloudinit.readthedocs.io/en/stable/reference/examples.html#update-apt-database-on-first-boot

#cloud-config

# Upgrade the instance on first boot
#
# Default: false
package_upgrade: true

EDIT: In Lima, every boot is the first boot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions