summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-install-packages.txt
diff options
context:
space:
mode:
authorctracey <ctracey@craigtracey.com>2013-01-30 19:21:37 -0500
committerctracey <ctracey@craigtracey.com>2013-01-30 19:21:37 -0500
commit9ced60371239eb961e9919f13bda8b496e077411 (patch)
tree0143189be90f618631698a7558885bb02ad89282 /doc/examples/cloud-config-install-packages.txt
parentdc3ebfe2416028b78b6a846e939201d894b2c9b6 (diff)
downloadvyos-cloud-init-9ced60371239eb961e9919f13bda8b496e077411.tar.gz
vyos-cloud-init-9ced60371239eb961e9919f13bda8b496e077411.zip
Support package versions for the generic package config module
Augmenting the package version support to be available when specifying extra packages to be installed at boot via the 'packages:' yaml key. This change also improves type checking and add a configuration example to the docs.
Diffstat (limited to 'doc/examples/cloud-config-install-packages.txt')
-rw-r--r--doc/examples/cloud-config-install-packages.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-install-packages.txt b/doc/examples/cloud-config-install-packages.txt
index 4984818f..2edc63da 100644
--- a/doc/examples/cloud-config-install-packages.txt
+++ b/doc/examples/cloud-config-install-packages.txt
@@ -6,6 +6,10 @@
#
# if packages are specified, this apt_update will be set to true
#
+# packages may be supplied as a single package name or as a list
+# with the format [<package>, <version>] wherein the specifc
+# package version will be installed.
packages:
- pwgen
- pastebinit
+ - [libpython2.7, 2.7.3-0ubuntu3.1]