---
 dts/vm_images/network-init.sh | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100755 dts/vm_images/network-init.sh

diff --git a/dts/vm_images/network-init.sh b/dts/vm_images/network-init.sh
new file mode 100755
index 0000000000..ad0190a5af
--- /dev/null
+++ b/dts/vm_images/network-init.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# Used to ensure networking is up for all images
+# This is a brute-force approach to try to ensure it always works
+
+ifconfig | grep -Po "^[^:\s]+:" | tr -d ':' | xargs -I % ip link set % up
\ No newline at end of file
-- 
2.20.1

Reply via email to