mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-12-26 08:41:57 -05:00
https Debian repositories
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
3d39e5594f
commit
96845e68db
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
find /etc/apt/sources.list.d -type f -exec sed -i 's/http:/https:/g' {} \;
|
||||
|
||||
apt update
|
||||
apt upgrade -y
|
||||
apt install -y tuned apparmor-profiles ufw
|
||||
|
11
Proxmox-7.sh
11
Proxmox-7.sh
@ -1,7 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
sed -i '1 {s/^/#/}' /etc/apt/sources.list.d/pve-enterprise.list
|
||||
sed -i 's/main contrib/main contrib non-free/' /etc/apt/sources.list
|
||||
|
||||
echo 'deb https://deb.debian.org/debian/ bullseye main contrib non-free
|
||||
|
||||
deb https://deb.debian.org/debian/ bullseye-updates main contrib non-free
|
||||
|
||||
# security updates
|
||||
deb https://security.debian.org bullseye-security main contrib non-free
|
||||
|
||||
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription' | tee /etc/apt/sources.list
|
||||
|
||||
apt update
|
||||
apt upgrade -y
|
||||
apt install -y intel-microcode tuned apparmor-profiles fwupd
|
||||
|
Loading…
Reference in New Issue
Block a user