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
a70f651b
authored
Jun 10, 2020
by
source_reader
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updates for ubuntu 20
parent
e7f056ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
cleanup.sh
modules/common/manifests/init.pp
cleanup.sh
View file @
a70f651b
#!/bin/bash
set
-e
echo
"updating all packages and removing unnecessary ones"
apt update
#apt upgrade -y
#apt autoremove -y
echo
"stopping joule and lumen"
service joule stop
nginx
-s
stop
...
...
@@ -24,7 +29,9 @@ rm -rf /root/puppet
rm
-rf
/root/.joule
rm
-rf
~/.joule
deluser systemd-coredump
echo
"If any user shows up below delete with deluser command:"
cat
/etc/passwd |
grep
999
echo
"From cubic remove the ubuntu user with [deluser --remove-home ubuntu]"
history
-c
modules/common/manifests/init.pp
View file @
a70f651b
...
...
@@ -6,7 +6,7 @@ class common {
# note: chromium for Ubuntu is a snap and cannot be installed in a container
$pkgs
=
[
'build-essential'
,
'screen'
,
'emacs'
,
'openvpn'
,
'nmap'
,
'wget'
,
'sqlite3'
,
'gparted'
,
'net-tools'
,
'openssh-server'
,
'zlib1g-dev'
,
'openssh-server'
,
'zlib1g-dev'
,
'curl'
,
'imagemagick'
]
package
{
$pkgs
:
...
...
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