diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-12-14 14:17:31 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-12-14 14:17:31 -0500 |
commit | 923a7d0efc3cf3224b891dc783321018d59ce33e (patch) | |
tree | 97230fcdef1b75e49da2d91d25c80def2f86a60a /doc/examples/cloud-config.txt | |
parent | 6af4aefbabdb38f5a3077554b458dd1f5a67f22a (diff) | |
download | vyos-cloud-init-923a7d0efc3cf3224b891dc783321018d59ce33e.tar.gz vyos-cloud-init-923a7d0efc3cf3224b891dc783321018d59ce33e.zip |
support calling apt with eatmydata, enable by default if available.
This allows a general config option to prefix apt-get commands via
'apt_get_wrapper'. By default, the command is set to 'eatmydata', and the
mode set to 'auto'. That means if eatmydata is available (via which), it
will use it.
The 'command' can be either a array or a string.
LP: #1236531
Diffstat (limited to 'doc/examples/cloud-config.txt')
-rw-r--r-- | doc/examples/cloud-config.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt index 8d756c61..61fa6065 100644 --- a/doc/examples/cloud-config.txt +++ b/doc/examples/cloud-config.txt @@ -147,8 +147,13 @@ apt_sources: # '--option=Dpkg::options::=--force-unsafe-io', '--assume-yes', '--quiet'] # # apt_get_upgrade_subcommand: -# Specify a different subcommand for 'upgrade. The default is 'dist-upgrade'. -# This is the subcommand that is invoked if package_upgrade is set to true above. +# Specify a different subcommand for 'upgrade. The default is 'dist-upgrade'. +# This is the subcommand that is invoked if package_upgrade is set to true above. +# +# apt_get_wrapper: +# command: eatmydata +# enabled: [True, False, "auto"] +# # Install additional packages on first boot # |