This commit is contained in:
Zsolt Alföldi
2026-02-26 23:51:49 +01:00
parent ba58953a8c
commit 66af1aee47
2 changed files with 11 additions and 8 deletions

View File

@@ -72,7 +72,7 @@ function intune() {
# info "Himmelblau installed." # info "Himmelblau installed."
# #
# # 2. Fix PAM immediately after # # 2. Fix PAM immediately after
# sudo tee /etc/pam.d/common-auth <<'EOF' # tee /etc/pam.d/common-auth <<'EOF'
# auth required pam_env.so # auth required pam_env.so
# auth [default=1 ignore=ignore success=ok] pam_localuser.so # auth [default=1 ignore=ignore success=ok] pam_localuser.so
# auth sufficient pam_unix.so nullok try_first_pass # auth sufficient pam_unix.so nullok try_first_pass
@@ -80,21 +80,21 @@ function intune() {
# auth required pam_deny.so # auth required pam_deny.so
# EOF # EOF
# #
# sudo tee /etc/pam.d/common-account <<'EOF' # tee /etc/pam.d/common-account <<'EOF'
# account [default=1 ignore=ignore success=ok] pam_localuser.so # account [default=1 ignore=ignore success=ok] pam_localuser.so
# account sufficient pam_unix.so # account sufficient pam_unix.so
# account sufficient pam_himmelblau.so ignore_unknown_user # account sufficient pam_himmelblau.so ignore_unknown_user
# account required pam_deny.so # account required pam_deny.so
# EOF # EOF
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor >microsoft.gpg apt -y install curl software-properties-common apt-transport-https
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ curl -sSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /usr/share/keyrings/microsoft.gpg
rm microsoft.gpg echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/edge stable main" | tee /etc/apt/sources.list.d/microsoft-edge.list
sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/$(lsb_release -rs)/prod $(lsb_release -cs) main" >> /etc/apt/sources.list.d/microsoft-ubuntu-$(lsb_release -cs)-prod.list'
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge.list' apt update
apt install microsoft-edge-stable intune-portal -y
sudo apt update
sudo apt install microsoft-edge-stable intune-portal
echo intune >>/tmp/installer echo intune >>/tmp/installer
} }
@@ -122,6 +122,8 @@ function displaylink_driver() {
apt-get install -y /tmp/synaptics-keyring.deb apt-get install -y /tmp/synaptics-keyring.deb
apt-get update apt-get update
apt-get install -y displaylink-driver apt-get install -y displaylink-driver
systemctl start displaylink-driver.service
echo displaylink_driver >>/tmp/installer
} }
function main() { function main() {

View File

@@ -122,6 +122,7 @@ autoinstall:
gtk-theme='Adwaita-dark' gtk-theme='Adwaita-dark'
[org/gnome/shell] [org/gnome/shell]
disabled-extensions=['ubuntu-dock@ubuntu.com']
enabled-extensions=['dash-to-panel@jderose9.github.com'] enabled-extensions=['dash-to-panel@jderose9.github.com']
disable-user-extensions=false disable-user-extensions=false