chore: remove package apache2-utils from VHD (#82)

This commit is contained in:
Javier Darsie 2023-02-13 13:01:14 -08:00 коммит произвёл GitHub
Родитель 99afb1679e
Коммит b4cbc4932d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 2 добавлений и 15 удалений

Просмотреть файл

@ -36,7 +36,7 @@ installEtcd() {
fi
}
installDeps() {
packages="apache2-utils apt-transport-https blobfuse=1.4.5 ca-certificates cifs-utils conntrack cracklib-runtime dbus dkms ebtables ethtool fuse gcc git htop iftop init-system-helpers iotop iproute2 ipset iptables jq libpam-pwquality libpwquality-tools linux-headers-$(uname -r) make mount net-tools nfs-common pigz socat sysstat traceroute util-linux xz-utils zip"
packages="apt-transport-https blobfuse=1.4.5 ca-certificates cifs-utils conntrack cracklib-runtime dbus dkms ebtables ethtool fuse gcc git htop iftop init-system-helpers iotop iproute2 ipset iptables jq libpam-pwquality libpwquality-tools linux-headers-$(uname -r) make mount net-tools nfs-common pigz socat sysstat traceroute util-linux xz-utils zip"
if [[ ${OS} == "${UBUNTU_OS_NAME}" ]]; then
retrycmd_no_stats 120 5 25 curl -fsSL ${MS_APT_REPO}/config/ubuntu/${UBUNTU_RELEASE}/packages-microsoft-prod.deb >/tmp/packages-microsoft-prod.deb || exit 42
retrycmd 60 5 10 dpkg -i /tmp/packages-microsoft-prod.deb || exit 43

Просмотреть файл

@ -281,12 +281,6 @@ fi
rm -f /etc/apt/apt.conf.d/99periodic
{{- end}}
{{- if not IsAzureStackCloud}}
if [[ $OS == $UBUNTU_OS_NAME ]]; then
time_metric "PurgeApt" apt_get_purge apache2-utils &
fi
{{end}}
{{- if not HasBlockOutboundInternet}}
{{- if RunUnattendedUpgradesOnBootstrap}}
apt_get_update && unattended_upgrade

Просмотреть файл

@ -17389,7 +17389,7 @@ installEtcd() {
fi
}
installDeps() {
packages="apache2-utils apt-transport-https blobfuse=1.4.5 ca-certificates cifs-utils conntrack cracklib-runtime dbus dkms ebtables ethtool fuse gcc git htop iftop init-system-helpers iotop iproute2 ipset iptables jq libpam-pwquality libpwquality-tools linux-headers-$(uname -r) make mount net-tools nfs-common pigz socat sysstat traceroute util-linux xz-utils zip"
packages="apt-transport-https blobfuse=1.4.5 ca-certificates cifs-utils conntrack cracklib-runtime dbus dkms ebtables ethtool fuse gcc git htop iftop init-system-helpers iotop iproute2 ipset iptables jq libpam-pwquality libpwquality-tools linux-headers-$(uname -r) make mount net-tools nfs-common pigz socat sysstat traceroute util-linux xz-utils zip"
if [[ ${OS} == "${UBUNTU_OS_NAME}" ]]; then
retrycmd_no_stats 120 5 25 curl -fsSL ${MS_APT_REPO}/config/ubuntu/${UBUNTU_RELEASE}/packages-microsoft-prod.deb >/tmp/packages-microsoft-prod.deb || exit 42
retrycmd 60 5 10 dpkg -i /tmp/packages-microsoft-prod.deb || exit 43
@ -17905,12 +17905,6 @@ fi
rm -f /etc/apt/apt.conf.d/99periodic
{{- end}}
{{- if not IsAzureStackCloud}}
if [[ $OS == $UBUNTU_OS_NAME ]]; then
time_metric "PurgeApt" apt_get_purge apache2-utils &
fi
{{end}}
{{- if not HasBlockOutboundInternet}}
{{- if RunUnattendedUpgradesOnBootstrap}}
apt_get_update && unattended_upgrade

Просмотреть файл

@ -17,7 +17,6 @@ MS_APT_REPO=packages.microsoft.com
installDeps
cat << EOF >> ${VHD_LOGS_FILEPATH}
apt packages:
- apache2-utils
- apt-transport-https
- auditd
- blobfuse