diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-01-25 23:03:08 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-07-08 17:05:20 +0100 |
commit | f06efd6fa7bbb0c81ce0461d4eaeed225d6f04a2 (patch) | |
tree | 2084f91475289bcddb2010113118f64e388da706 /example_plugins/example.py | |
parent | b16fbf3911c6256674e072cff6fa706050861993 (diff) | |
download | sos-f06efd6fa7bbb0c81ce0461d4eaeed225d6f04a2.tar.gz |
[plugins] add chroot parameter to callout APIs
Expose sos_get_command_output()'s chroot support to plugins via
add_cmd_output(), get_command_output(), call_ext_prog() and
related Plugin methods.
'chroot' is a boolean indicating whether the command should run
in the chroot (True) or in the host namespace (False).
Has no effect when Plugin.use_sysroot() is False.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'example_plugins/example.py')
0 files changed, 0 insertions, 0 deletions