summaryrefslogtreecommitdiff
path: root/tools/cloud-init/99-disable-networking.chroot
diff options
context:
space:
mode:
authorUnicronNL <kim.sidney@gmail.com>2019-05-21 22:15:55 +0200
committerUnicronNL <kim.sidney@gmail.com>2019-05-21 22:15:55 +0200
commitd8ee537f1528dfe3e37ad1afe2b9dd3dab81cbd0 (patch)
tree1f4d3d262d72e0bbb74d221e6220a23b9ba403ea /tools/cloud-init/99-disable-networking.chroot
parent217aa6afaebc021700cb6a4984f35720995f7ec5 (diff)
downloadvyos-build-d8ee537f1528dfe3e37ad1afe2b9dd3dab81cbd0.tar.gz
vyos-build-d8ee537f1528dfe3e37ad1afe2b9dd3dab81cbd0.zip
update cloud builds
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