From dfcd7487a7c9e104915ba50cd7454f646651e79a Mon Sep 17 00:00:00 2001 From: kosenka Date: Mon, 1 Sep 2025 20:22:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20install.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 50057ac..a8e5a24 100644 --- a/install.sh +++ b/install.sh @@ -46,13 +46,22 @@ echo "datasource_list: [ None ]" >> /etc/cloud/cloud.cfg.d/90_dpkg.cfg dpkg-reconfigure cloud-init apt purge -y cloud-init && rm -rf /etc/cloud/ && rm -rf /var/lib/cloud/ -apt-get -y remove unattended-upgrades && systemctl stop apt-daily.timer && systemctl disable apt-daily.timer && systemctl stop apt-daily-upgrade.timer && systemctl disable apt-daily-upgrade.timer && systemctl disable apt-daily.service && systemctl daemon-reload +apt-get -y remove unattended-upgrades + +systemctl stop apt-daily.timer +systemctl disable apt-daily.timer +systemctl stop apt-daily-upgrade.timer +systemctl disable apt-daily-upgrade.timer +systemctl disable apt-daily.service +systemctl daemon-reload + sed -i -e 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/g' /etc/apt/apt.conf.d/20auto-upgrades sed -i -e 's/APT::Periodic::Unattended-Upgrade "1";/APT::Periodic::Unattended-Upgrade "0";/g' /etc/apt/apt.conf.d/20auto-upgrades snap remove --purge snapd && apt-get -y remove snapd && apt-get -y autoremove -apt install -y netplan.io isc-dhcp-client isc-dhcp-common mc net-tools iputils-ping inetutils-traceroute htop ca-certificates apt-utils aptitude locales git squashfs-tools tzdata fdisk gdisk mc net-tools iputils-ping inetutils-traceroute htop ca-certificates apt-utils aptitude locales git iproute2 +apt install -y netplan.io isc-dhcp-client isc-dhcp-common mc net-tools iputils-ping inetutils-traceroute htop ca-certificates +apt install -y apt-utils aptitude locales git squashfs-tools tzdata fdisk gdisk mc net-tools iputils-ping inetutils-traceroute iproute2 ### ? systemctl disable snapd.service && systemctl disable snapd.socket && systemctl disable snapd.seeded.service && systemctl mask snapd.service && rm -rf /var/cache/snapd/ && apt autoremove --purge snapd -y && rm -rf ~/snap