Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
There is no need for sudo in the root script
Browse files Browse the repository at this point in the history
  • Loading branch information
decklin committed Jan 6, 2017
1 parent e945b30 commit 122dbca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions provision-root-install.sh
Expand Up @@ -5,15 +5,15 @@
set -v

# Remove Ubuntu stuff we don't want
sudo apt-get -y remove --purge snapd ubuntu-core-launcher ubuntu-release-upgrader-core
apt-get -y remove --purge snapd ubuntu-core-launcher ubuntu-release-upgrader-core
# Clean up dependencies of those
sudo apt-get -y autoremove
apt-get -y autoremove

# Get any security updates not in the base image
sudo apt-get update
sudo apt-get -y upgrade
apt-get update
apt-get -y upgrade
# Other packages we need
sudo apt-get install -q -y make nodejs sqlite3 libsqlite3-dev
apt-get install -q -y make nodejs sqlite3 libsqlite3-dev

# Copy our files into place
rsync -rtv /tmp/provision-files/etc/ /etc/
Expand Down

0 comments on commit 122dbca

Please sign in to comment.