From bfc1660c6805f80e2f9c0105cecaefc944a83f06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Fri, 12 Nov 2021 11:53:52 +0100 Subject: [PATCH] Remove cmd already runned with latecommand script --- proxmox/proxmox.template.debian.sh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/proxmox/proxmox.template.debian.sh b/proxmox/proxmox.template.debian.sh index 7600b1a..3d639c9 100755 --- a/proxmox/proxmox.template.debian.sh +++ b/proxmox/proxmox.template.debian.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Some commands to apply to generate a "good" custom Debian (Stretch) template +# Some commands to generate a "good" custom Debian template # SSH {{{ @@ -51,21 +51,6 @@ tar xzf /tmp/latecommand.tar.gz -C /tmp/ # APT {{{ -## Update repositories -apt update - -## Ensure to install aptitude -apt install -y aptitude - -## Ensure to have an up to date system -aptitude full-upgrade -y - -## Ensure to remove useless x11 packages -aptitude remove -y x11-common libgl1-mesa-glx xauth libx11-6 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxkbfile1 libxmuu1 libxpm4 libxrandr2 libxrender1 libxv1 libxxf86dga1 libxxf86vm1 libx11-data - -## Clean useless rc files -aptitude -y purge '~c' - ## Clean downloaded and list of packages aptitude clean rm -f /var/cache/apt/*.bin