mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
9 lines
284 B
Bash
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
|