commit 9c66123c3056bab72830c7c20e66274cb6d58d34
Author: Ravi Shekhar Jethani <email address hidden>
Date: Sat Nov 18 01:47:45 2017 +0530
Don't change directory while running init-runonce
Currently init-runonce script changes directory to the
script's base directory (/usr/...) before doing anything else.
This unnecessarily _forces_ a non-root user to use sudo for
running this script thereby raising privileges for code which
doesn't want it. Also downloading temporary stuff in places like
/usr... seems not a good choice.
Hence deleting the said code part and letting the deployer work
comfortably from any directory.
Reviewed: https:/ /review. openstack. org/521190 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=9c66123c305 6bab72830c7c20e 66274cb6d58d34
Committed: https:/
Submitter: Zuul
Branch: master
commit 9c66123c3056bab 72830c7c20e6627 4cb6d58d34
Author: Ravi Shekhar Jethani <email address hidden>
Date: Sat Nov 18 01:47:45 2017 +0530
Don't change directory while running init-runonce
Currently init-runonce script changes directory to the
script's base directory (/usr/...) before doing anything else.
This unnecessarily _forces_ a non-root user to use sudo for
running this script thereby raising privileges for code which
doesn't want it. Also downloading temporary stuff in places like
/usr... seems not a good choice.
Hence deleting the said code part and letting the deployer work
comfortably from any directory.
Made documentation changes accordingly.
Change-Id: Ib3c7ed97aa5f53 c115b6337aaf572 b5fdc7a71f3
Closes-Bug: #1732963