Begin QA Lab fork: Grant ubuntu passwordless sudo, sync rev # to 7
This commit is contained in:
parent
a4bc59a803
commit
d3452cb76e
|
@ -37,6 +37,11 @@ function install_hook() {
|
|||
DEBIAN_FRONTEND=noninteractive apt-get -qqy \
|
||||
install --no-install-recommends rabbitmq-server
|
||||
rc=$?
|
||||
|
||||
# give ubuntu user passwd-less sudo for log access
|
||||
echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/ubuntu-qa
|
||||
chmod 0440 /etc/sudoers.d/ubuntu-qa
|
||||
|
||||
service rabbitmq-server stop
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue