← Back to team overview

cloud-init-dev team mailing list archive

Re: [Merge] ~ajorgens/cloud-init:pipe-cat into cloud-init:master

 

It seems like there is probably a better (or at very least less expensive) way to do this than to incur the cost of a subprocess.

I suspect
a.) change 'yum' to be invoked with '--quiet' or the like
b.) close and re-open stdout or something like that.  yum is probably using 'isatty' to change its behavior.
-- 
https://code.launchpad.net/~ajorgens/cloud-init/+git/cloud-init/+merge/325512
Your team cloud-init commiters is requested to review the proposed merge of ~ajorgens/cloud-init:pipe-cat into cloud-init:master.


References