Skip to content

Commit

Permalink
Passwordless sudo on machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee committed Nov 19, 2024
1 parent c10df7e commit 10b20f8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions resources/scripts/install-system-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
function system_deps() {
echo "Installing system dependencies."

# Set up passwordless sudo for all sudo group.
echo "%sudo ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/panoptes

# Clean up problems.
apt-get -y -qq purge needrestart
apt-get update --fix-missing -y -qq
apt-get -y -qq full-upgrade
sudo apt-get -y -qq purge needrestart
sudo apt-get update --fix-missing -y -qq
sudo apt-get -y -qq full-upgrade

apt-get -y -qq install \
sudo apt-get -y -qq install \
ack \
astrometry.net \
astrometry-data-tycho2-10-19 \
Expand All @@ -30,7 +33,7 @@ function system_deps() {
supervisor \
wget \
zsh
apt-get -y -qq autoremove
sudo apt-get -y -qq autoremove
}

system_deps

0 comments on commit 10b20f8

Please sign in to comment.