diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-01-15 15:08:28 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-01-15 15:08:28 -0500 |
commit | 12b0b69b8e93555b0a60cab6a7bada93aab857f4 (patch) | |
tree | e550c8bf18b2cfa4bd6abf3491429ed81492f66e /config | |
parent | 9874d0590dba4a67ff7268a6a1d22207088e1a13 (diff) | |
parent | 08b50a6ea239f480493f202c563d788cabb92380 (diff) | |
download | vyos-cloud-init-12b0b69b8e93555b0a60cab6a7bada93aab857f4.tar.gz vyos-cloud-init-12b0b69b8e93555b0a60cab6a7bada93aab857f4.zip |
merge from trunk
Diffstat (limited to 'config')
-rw-r--r-- | config/cloud.cfg.d/05_logging.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/cloud.cfg.d/05_logging.cfg b/config/cloud.cfg.d/05_logging.cfg index 410a0650..2e180730 100644 --- a/config/cloud.cfg.d/05_logging.cfg +++ b/config/cloud.cfg.d/05_logging.cfg @@ -59,3 +59,8 @@ log_cfgs: - [ *log_base, *log_file ] # A file path can also be used # - /etc/log.conf + +# this tells cloud-init to redirect its stdout and stderr to +# 'tee -a /var/log/cloud-init-output.log' so the user can see output +# there without needing to look on the console. +output: {all: '| tee -a /var/log/cloud-init-output.log'} |