summaryrefslogtreecommitdiff
path: root/tools/cloud-init/99-disable-networking.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cloud-init/99-disable-networking.chroot')
-rwxr-xr-xtools/cloud-init/99-disable-networking.chroot3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/cloud-init/99-disable-networking.chroot b/tools/cloud-init/99-disable-networking.chroot
new file mode 100755
index 00000000..e576c8a5
--- /dev/null
+++ b/tools/cloud-init/99-disable-networking.chroot
@@ -0,0 +1,3 @@
+#!/bin/bash
+systemctl disable networking
+/usr/sbin/update-rc.d -f networking remove