Commit a70f651b by source_reader

updates for ubuntu 20

parent e7f056ca
Showing with 8 additions and 1 deletions
#!/bin/bash #!/bin/bash
set -e set -e
echo "updating all packages and removing unnecessary ones"
apt update
#apt upgrade -y
#apt autoremove -y
echo "stopping joule and lumen" echo "stopping joule and lumen"
service joule stop service joule stop
nginx -s stop nginx -s stop
...@@ -24,7 +29,9 @@ rm -rf /root/puppet ...@@ -24,7 +29,9 @@ rm -rf /root/puppet
rm -rf /root/.joule rm -rf /root/.joule
rm -rf ~/.joule rm -rf ~/.joule
deluser systemd-coredump
echo "If any user shows up below delete with deluser command:" echo "If any user shows up below delete with deluser command:"
cat /etc/passwd | grep 999 cat /etc/passwd | grep 999
echo "From cubic remove the ubuntu user with [deluser --remove-home ubuntu]" echo "From cubic remove the ubuntu user with [deluser --remove-home ubuntu]"
history -c history -c
...@@ -6,7 +6,7 @@ class common { ...@@ -6,7 +6,7 @@ class common {
# note: chromium for Ubuntu is a snap and cannot be installed in a container # note: chromium for Ubuntu is a snap and cannot be installed in a container
$pkgs=['build-essential','screen','emacs','openvpn', $pkgs=['build-essential','screen','emacs','openvpn',
'nmap','wget', 'sqlite3', 'gparted', 'net-tools', 'nmap','wget', 'sqlite3', 'gparted', 'net-tools',
'openssh-server','zlib1g-dev', 'openssh-server','zlib1g-dev','curl',
'imagemagick'] 'imagemagick']
package { $pkgs: package { $pkgs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment