|
@@ -11,12 +11,12 @@ sudo dpkg-reconfigure -f noninteractive unattended-upgrades
|
|
|
echo "Marking linux-image-generic and linux-headers-generic as held back..."
|
|
echo "Marking linux-image-generic and linux-headers-generic as held back..."
|
|
|
sudo apt-mark hold linux-image-generic linux-headers-generic
|
|
sudo apt-mark hold linux-image-generic linux-headers-generic
|
|
|
|
|
|
|
|
-# upgrade the system
|
|
|
|
|
|
|
+# Update and upgrade the system
|
|
|
echo "Upgrading the system..."
|
|
echo "Upgrading the system..."
|
|
|
|
|
+sudo DEBIAN_FRONTEND=noninteractive apt update
|
|
|
sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y
|
|
sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y
|
|
|
|
|
|
|
|
-# Update and install required packages for Active Directory
|
|
|
|
|
-sudo DEBIAN_FRONTEND=noninteractive apt update
|
|
|
|
|
|
|
+# Install required packages for Active Directory
|
|
|
sudo DEBIAN_FRONTEND=noninteractive apt install -y realmd libnss-sss libpam-sss sssd sssd-tools adcli samba-common-bin oddjob oddjob-mkhomedir packagekit
|
|
sudo DEBIAN_FRONTEND=noninteractive apt install -y realmd libnss-sss libpam-sss sssd sssd-tools adcli samba-common-bin oddjob oddjob-mkhomedir packagekit
|
|
|
|
|
|
|
|
# Install any additional software
|
|
# Install any additional software
|