update
This commit is contained in:
1 parent
52d4f440d0
commit
c82fc23f0e
1 file changed
+7
-7
@@ -61,6 +61,13 @@ configure(){
|
||||
echo " HostKeyAlgorithms ssh-ed25519,ssh-rsa,rsa-sha2-256" >> /etc/ssh/ssh_config
|
||||
echo " PubkeyAcceptedKeyTypes ssh-ed25519,ssh-rsa,rsa-sha2-256" >> /etc/ssh/ssh_config
|
||||
|
||||
if [ $FOR_PVE -eq 1 ]; then
|
||||
echo "deb $PVE_URL bookworm pve-no-subscription" | \
|
||||
tee /etc/apt/sources.list.d/pve-no-subscription.list
|
||||
else
|
||||
rm /etc/apt/sources.list.d/* || true
|
||||
fi
|
||||
|
||||
rm /etc/apt/sources.list || true
|
||||
|
||||
echo -e "Enabled: yes
|
||||
@@ -85,13 +92,6 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
#deb $SEC_URL $OS_CODE-security main contrib non-free non-free-firmware
|
||||
#" | tee /etc/apt/sources.list
|
||||
|
||||
if [ $FOR_PVE -eq 1 ]; then
|
||||
echo "deb $PVE_URL bookworm pve-no-subscription" | \
|
||||
tee /etc/apt/sources.list.d/pve-no-subscription.list
|
||||
else
|
||||
rm /etc/apt/sources.list.d/* || true
|
||||
fi
|
||||
|
||||
command="nala"
|
||||
apt update
|
||||
apt install -y $command || command="apt"
|
||||
|
||||
Reference in new issue
Block a user