diff options
-rwxr-xr-x | tools/cloud-init/99-walinuxagent.chroot | 1 |
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 |