~cloud-init-dev/cloud-init/trunk

Viewing all changes in revision 560.

  • Committer: Scott Moser
  • Date: 2012-06-13 13:11:27 UTC
  • mfrom: (559.1.1 cloud-init)
  • Revision ID: smoser@ubuntu.com-20120613131127-cnt9xyqoih37df61
Use --quiet when running apt-get

Use the --quiet switch when running apt-get to get output suitable for
logging, rather than with pretty progress updates designed for interactive
use. This makes the log, as returned by GetConsoleOutput for instance, a
little shorter and easier to read. Some action completion notices are also
missed, but it's pretty clear still as no error output appears before
cloud-init goes on to the next thing.

Mer apt-get man page:
  Quiet; produces output suitable for logging, omitting progress indicators.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: