Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
puppet
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5498d8c2
authored
Oct 02, 2019
by
source_reader
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fixes for rpi cleanup
parent
5f5c0a84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
rpi_cleanup.sh
rpi_cleanup.sh
View file @
5498d8c2
...
...
@@ -3,7 +3,6 @@ set -e
echo
"stopping joule and lumen"
service joule stop
apache2ctl stop
echo
"1] Remove the databases"
sudo
-u
postgres psql
<<
END_OF_SQL
...
...
@@ -16,6 +15,7 @@ rm -f /etc/joule/stream_configs/*.conf
echo
"3] Removing default key material"
rm
-f
/etc/joule/security/
*
rm
-f
/opt/api/config/secrets.yml
rm
-f
/home/pi/.joule
echo
"4] Configuring root fs resize for first boot"
PARTUUID
=
"
$(
blkid
-o
export
/dev/mmcblk0p2 |
grep
PARTUUID
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment