summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-11-07 10:29:49 -0500
committerScott Moser <smoser@ubuntu.com>2012-11-07 10:29:49 -0500
commite6d4b76e5e60ff558c247ad76acd27343afe367c (patch)
tree4a7f2b9fb1fe2dfed34cc36d9f3ef4a704179421 /doc
parentce5a554672f4ffbc383af08a35d22a1dd89ce41f (diff)
parent180620470ba9aae4aac804b8bd66d3af8bd71ee4 (diff)
downloadvyos-cloud-init-e6d4b76e5e60ff558c247ad76acd27343afe367c.tar.gz
vyos-cloud-init-e6d4b76e5e60ff558c247ad76acd27343afe367c.zip
Add a more generic package install mechansim
This splits code in apt_update_upgrade into 'apt-update-upgrade' and 'apt-configure' and 'package-update-upgrade-install'. The 'package-update-upgrade-install' then uses the generic distro package mechanisms for acheiving the same goal. Also, adjusts some of the reboot backoffs and log flushing/sleeping that was happening there.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/cloud-config.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt
index 56a6c35a..04bb5df1 100644
--- a/doc/examples/cloud-config.txt
+++ b/doc/examples/cloud-config.txt
@@ -3,15 +3,20 @@
# (ie run apt-get update)
#
# Default: true
-#
-apt_update: false
+# Aliases: apt_update
+package_update: false
# Upgrade the instance on first boot
# (ie run apt-get upgrade)
#
# Default: false
-#
-apt_upgrade: true
+# Aliases: apt_upgrade
+package_upgrade: true
+
+# Reboot after package install/update if necessary
+# Default: false
+# Aliases: apt_reboot_if_required
+package_reboot_if_required: true
# Add apt repositories
#