Don't run Plinth setup as part of freedombox/setup

Instead run all of the setup process during the first boot. This enables us to
someday remove the reboot step entirely.

Tests: After building a new image with the changes, call the modules have shown
to be properly setup. Running the setup wizard, creating admin user and logging
works as expected.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2017-08-31 21:08:54 -04:00
1 parent 3ba672f28a
commit 4bbbfd956c
1 file changed
-7
@@ -34,12 +34,5 @@ a2ensite plinth-ssl.conf
echo "Done configuring Apache for Plinth."
echo "Running Plinth setup..."
# Run plinth setup to configure various necessary program
plinth --setup-no-install
# Ensure that DB and log file permissions are correct
chown -R plinth: /var/lib/plinth /var/log/plinth
echo "Done running Plinth setup."