diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-06-08 12:11:31 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2018-06-08 12:11:31 -0400 |
commit | 9a41fce0c2399f05b2c904948c969623dc04e491 (patch) | |
tree | bc6b750f7b30e85de8402ed05a03028a337e160e /cloudinit/netinfo.py | |
parent | 4c568f220b65dbc1af822ccfa0f31638fed02d83 (diff) | |
download | vyos-cloud-init-9a41fce0c2399f05b2c904948c969623dc04e491.tar.gz vyos-cloud-init-9a41fce0c2399f05b2c904948c969623dc04e491.zip |
subp: support combine_capture argument.
This adds 'combine_capture' argument as was present in curtin's
subp. It is useful to get interleaved output of a command. I noticed
a need for it when looking at user_data_rhevm in DataSourceAltCloud.
That will run a subcommand, logging its stdout but swallowing its stderr.
Another thing to change to use this would be in udevadm_settle which
currently just returns the subp() call.
Also, add the docstring copied from curtin's subp.
Diffstat (limited to 'cloudinit/netinfo.py')
0 files changed, 0 insertions, 0 deletions