summaryrefslogtreecommitdiff
path: root/tools/cloud-init
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cloud-init')
-rwxr-xr-xtools/cloud-init/99-walinuxagent.chroot1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cloud-init/99-walinuxagent.chroot b/tools/cloud-init/99-walinuxagent.chroot
index f8848a2c..1de525cf 100755
--- a/tools/cloud-init/99-walinuxagent.chroot
+++ b/tools/cloud-init/99-walinuxagent.chroot
@@ -11,6 +11,7 @@ sed -ie 's,rfc3442-classless-static-routes,disabled-\0,' /etc/dhcp/dhclient.conf
rm -f /etc/ssh/ssh_host_*
rm -f /var/log/waagent.log
rm -r /var/cache/apt/*
+mkdir -p /var/cache/apt/archives
rm -r /var/lib/apt/lists/*
# prevent systemd message flooding