added clevis and updated redhat to match debian packages
This commit is contained in:
@@ -49,7 +49,7 @@ if [ ${OS} == "Debian" ] || [ ${OS} == "Ubuntu" ]; then
|
|||||||
apt update; apt upgrade -y
|
apt update; apt upgrade -y
|
||||||
|
|
||||||
# install the packages on all systems
|
# install the packages on all systems
|
||||||
apt install -y apt-transport-https wget tar gnupg2 sudo dnsutils rsync nano htop nload iperf iperf3 unattended-upgrades unzip bzip2 git nfs-common uptimed net-tools build-essential curl realmd oddjob oddjob-mkhomedir sssd sssd-tools libnss-sss libpam-sss adcli mlocate ncdu wireguard
|
apt install -y apt-transport-https wget tar gnupg2 sudo dnsutils rsync nano htop nload iperf iperf3 unattended-upgrades unzip bzip2 git nfs-common uptimed net-tools build-essential curl realmd oddjob oddjob-mkhomedir sssd sssd-tools libnss-sss libpam-sss adcli mlocate ncdu wireguard clevis
|
||||||
|
|
||||||
# enable unattended-upgrades
|
# enable unattended-upgrades
|
||||||
echo unattended-upgrades unattended-upgrades/enable_auto_updates boolean true | debconf-set-selections
|
echo unattended-upgrades unattended-upgrades/enable_auto_updates boolean true | debconf-set-selections
|
||||||
@@ -96,7 +96,7 @@ elif [ "${OS}" == "CentOS" ] || [ "${OS}" == "Rocky" ]; then
|
|||||||
yum autoremove -y
|
yum autoremove -y
|
||||||
|
|
||||||
# install the packages
|
# install the packages
|
||||||
yum install -y sudo rsync tar nano htop nload iperf iperf3 bind-utils yum-cron unzip bzip2 nfs-utils git wget uptimed net-tools make realmd oddjob oddjob-mkhomedir sssd adcli mlocate ncdu wireguard
|
yum install -y sudo rsync tar nano htop nload iperf iperf3 bind-utils yum-cron unzip bzip2 nfs-utils git wget uptimed net-tools make realmd oddjob oddjob-mkhomedir sssd adcli mlocate ncdu wireguard clevis
|
||||||
|
|
||||||
# install vm tools
|
# install vm tools
|
||||||
if [ "${VM}" == "true" ]; then
|
if [ "${VM}" == "true" ]; then
|
||||||
@@ -134,7 +134,7 @@ elif [ "${OS}" == "CentOS" ] || [ "${OS}" == "Rocky" ]; then
|
|||||||
dnf autoremove -y
|
dnf autoremove -y
|
||||||
|
|
||||||
# install the packages
|
# install the packages
|
||||||
dnf install -y sudo rsync tar nano htop iperf3 bind-utils unzip bzip2 nfs-utils git wget net-tools make dnf-automatic realmd oddjob oddjob-mkhomedir sssd adcli mlocate ncdu
|
dnf install -y sudo rsync tar nano htop iperf3 bind-utils unzip bzip2 nfs-utils git wget net-tools make dnf-automatic realmd oddjob oddjob-mkhomedir sssd adcli mlocate ncdu wireguard clevis
|
||||||
|
|
||||||
# enable automatic updates
|
# enable automatic updates
|
||||||
sed --in-place "s/^apply_updates\ =\ no/apply_updates\ =\ yes/" /etc/dnf/automatic.conf
|
sed --in-place "s/^apply_updates\ =\ no/apply_updates\ =\ yes/" /etc/dnf/automatic.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user