[RFC PATCH v1 8/8] dts: merge DTS vm_images/network-init.sh to DPDK
Juraj Linkeš
juraj.linkes at pantheon.tech
Wed Apr 6 17:31:51 CEST 2022
---
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
More information about the dev
mailing list