diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2018-10-22 15:01:58 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2018-10-22 15:01:58 +0200 |
commit | f6c147b9ae7d2d62cf765c0b91514a052209b591 (patch) | |
tree | e4e2887b1ec6220eec35d300201ab32539c928b8 | |
parent | d7b7f5a0440da862db7701f5135b68c9a9ec75b4 (diff) | |
download | vyos-build-f6c147b9ae7d2d62cf765c0b91514a052209b591.tar.gz vyos-build-f6c147b9ae7d2d62cf765c0b91514a052209b591.zip |
Create dir needed for live-build to crete symlinks
-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 |