[RFC,v1,8/8] dts: merge DTS vm_images/network-init.sh to DPDK

Message ID 20220406153151.2917346-9-juraj.linkes@pantheon.tech (mailing list archive)
State RFC, archived
Delegated to: Thomas Monjalon
Headers
Series merge DTS repo config and tools to DPDK |

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS

Commit Message

Juraj Linkeš April 6, 2022, 3:31 p.m. UTC
  ---
 dts/vm_images/network-init.sh | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100755 dts/vm_images/network-init.sh
  

Patch

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