File: data.yaml

package info (click to toggle)
cloud-init 25.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,412 kB
  • sloc: python: 135,894; sh: 3,883; makefile: 141; javascript: 30; xml: 22
file content (16 lines) | stat: -rw-r--r-- 1,010 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cc_package_update_upgrade_install:
  description: |
    This module allows packages to be updated, upgraded or installed during
    boot using any available package manager present on a system such as apt,
    pkg, snap, yum or zypper. If any packages are to be installed or an upgrade
    is to be performed then the package cache will be updated first. If a
    package installation or upgrade requires a reboot, then a reboot can be
    performed if ``package_reboot_if_required`` is specified.
  examples:
  - comment: |
      Example 1:
    file: cc_package_update_upgrade_install/example1.yaml
  - comment: "By default, ``package_upgrade: true`` performs upgrades on any installed package manager. To avoid calling ``snap refresh`` in images with snap installed, set snap refresh.hold to ``forever`` will prevent cloud-init's snap interaction during any boot"
    file: cc_package_update_upgrade_install/example2.yaml
  name: Package Update Upgrade Install
  title: Update, upgrade, and install packages