fix: don't install the cloud kernel

The normal kernel is required for X to work.
This commit is contained in:
Emmanuel BENOîT 2024-12-30 10:18:55 +01:00
parent dea5f02a3b
commit 92dc3311bd
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg

View file

@ -10,10 +10,6 @@ echo "debconf grub-pc/install_devices string $( grub-mkdevicemap -m - | head -n
# Prevent "suggested" packages from being installed automatically # Prevent "suggested" packages from being installed automatically
echo 'APT::Install-Suggests "0";' > /etc/apt/apt.conf.d/05disable-suggests echo 'APT::Install-Suggests "0";' > /etc/apt/apt.conf.d/05disable-suggests
# Replace kernel
apt-get install -uy linux-image-cloud-amd64
apt-get remove -y linux-image-amd64
# Remove various useless packages # Remove various useless packages
apt-get remove -y memcached postfix postfix-cdb apt-get remove -y memcached postfix postfix-cdb