commit | 4549cd1fcac995901a100f1e1aa7171c5609ce40 | [log] [tgz] |
---|---|---|
author | Michael Walsh <micwalsh@us.ibm.com> | Thu Sep 07 18:02:36 2017 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Tue Sep 12 15:53:52 2017 +0000 |
tree | b6e53d560c5d3d5ae35c25fc32685b5d26c8f9d0 | |
parent | c28c239cb94f18552ddc4feafb2575db1ca8ff43 [diff] |
Fixed 'Initiate OS Host Power Off' to work with non root username. When using a OS_USERNAME that is not root (e.g. "ubuntu"), 'Initiate OS Host Power Off' fails because the user does not have the authority to do 'shutdown'. Added code to do shutdown with "sudo". Change-Id: Ie9cdadda393f98381a1edf028dd064d76c465d6e Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>