summaryrefslogtreecommitdiff
path: root/tools/cloud-init/azure/99-walinuxagent.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cloud-init/azure/99-walinuxagent.chroot')
-rwxr-xr-xtools/cloud-init/azure/99-walinuxagent.chroot18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/cloud-init/azure/99-walinuxagent.chroot b/tools/cloud-init/azure/99-walinuxagent.chroot
deleted file mode 100755
index 1de525cf..00000000
--- a/tools/cloud-init/azure/99-walinuxagent.chroot
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-echo I: Waagent / Cloud init
-
-# debug info:
-#echo ForwardToConsole=yes >> /etc/systemd/journald.conf
-
-# dhcp issue on azure
-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
-echo ':msg, contains, "Time has been changed" ~' > /etc/rsyslog.d/time_msgs.conf