1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
.. _cce-update-upgrade:
Update, upgrade and install packages
************************************
These examples show you how to install, update, and upgrade packages during
boot.
For a full list of keys, refer to the
:ref:`package update upgrade install <mod_cc_package_update_upgrade_install>`
module schema.
Install arbitrary packages
==========================
.. code-block:: yaml
#cloud-config
packages:
- pwgen
- pastebinit
- [libpython2.7, 2.7.3-0ubuntu3.1]
Update and upgrade packages
===========================
.. literalinclude:: ../../../module-docs/cc_package_update_upgrade_install/example1.yaml
:language: yaml
:linenos:
|