summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-12-14 14:17:31 -0500
committerScott Moser <smoser@ubuntu.com>2013-12-14 14:17:31 -0500
commit923a7d0efc3cf3224b891dc783321018d59ce33e (patch)
tree97230fcdef1b75e49da2d91d25c80def2f86a60a /doc/examples
parent6af4aefbabdb38f5a3077554b458dd1f5a67f22a (diff)
downloadvyos-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')
-rw-r--r--doc/examples/cloud-config.txt9
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
#