diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-11-07 10:29:49 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-11-07 10:29:49 -0500 |
commit | e6d4b76e5e60ff558c247ad76acd27343afe367c (patch) | |
tree | 4a7f2b9fb1fe2dfed34cc36d9f3ef4a704179421 /doc | |
parent | ce5a554672f4ffbc383af08a35d22a1dd89ce41f (diff) | |
parent | 180620470ba9aae4aac804b8bd66d3af8bd71ee4 (diff) | |
download | vyos-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.txt | 13 |
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 # |