Repository: cloudstack Updated Branches: refs/heads/4.4 4c8259414 -> b2efdf20c
Adding keytool to the list of sudo commands for cloud user to allow certificate creation during startup Signed-off-by: Hugo Trippaers <[email protected]> (cherry picked from commit 451e2ab851518832f44c77830347d9bbcb5da13f) Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b2efdf20 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b2efdf20 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b2efdf20 Branch: refs/heads/4.4 Commit: b2efdf20c05ae5659965a872115745e5821dccc8 Parents: 4c82594 Author: Erik Weber <[email protected]> Authored: Fri Aug 1 16:23:04 2014 +0200 Committer: Daan Hoogland <[email protected]> Committed: Fri Aug 8 11:28:57 2014 +0200 ---------------------------------------------------------------------- python/lib/cloudutils/serviceConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b2efdf20/python/lib/cloudutils/serviceConfig.py ---------------------------------------------------------------------- diff --git a/python/lib/cloudutils/serviceConfig.py b/python/lib/cloudutils/serviceConfig.py index e0ea7a2..86f5a90 100755 --- a/python/lib/cloudutils/serviceConfig.py +++ b/python/lib/cloudutils/serviceConfig.py @@ -729,7 +729,7 @@ class sudoersConfig(serviceCfgBase): def config(self): try: cfo = configFileOps("/etc/sudoers", self) - cfo.addEntry("cloud ALL ", "NOPASSWD : /bin/chmod, /bin/cp, /bin/mkdir, /bin/mount, /bin/umount") + cfo.addEntry("cloud ALL ", "NOPASSWD : /bin/chmod, /bin/cp, /bin/mkdir, /bin/mount, /bin/umount, /usr/bin/keytool") cfo.rmEntry("Defaults", "requiretty", " ") cfo.save() return True
