2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-17 10:35:14 +00:00
bench/vm/scripts/debian_family/setup.sh
2018-03-08 13:41:09 +05:30

9 lines
284 B
Bash

#!/bin/bash -eux
# Add frappe user to sudoers.
echo "frappe ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
# Disable daily apt unattended updates.
echo 'APT::Periodic::Enable "0";' >> /etc/apt/apt.conf.d/10periodic