From patchwork Wed Apr 6 15:31:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Juraj_Linke=C5=A1?= X-Patchwork-Id: 109334 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 107DBA0509; Wed, 6 Apr 2022 17:32:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0FA4242948; Wed, 6 Apr 2022 17:32:05 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 0784142906 for ; Wed, 6 Apr 2022 17:32:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 60F15184FEE; Wed, 6 Apr 2022 17:32:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TKSARSO6YhYj; Wed, 6 Apr 2022 17:31:59 +0200 (CEST) Received: from entguard.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 140B0184FFA; Wed, 6 Apr 2022 17:31:57 +0200 (CEST) From: =?utf-8?q?Juraj_Linke=C5=A1?= To: thomas@monjalon.net, david.marchand@redhat.com, Honnappa.Nagarahalli@arm.com, ohilyard@iol.unh.edu, lijuan.tu@intel.com Cc: dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= Subject: [RFC PATCH v1 8/8] dts: merge DTS vm_images/network-init.sh to DPDK Date: Wed, 6 Apr 2022 15:31:51 +0000 Message-Id: <20220406153151.2917346-9-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220406153151.2917346-1-juraj.linkes@pantheon.tech> References: <20220406153151.2917346-1-juraj.linkes@pantheon.tech> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --- 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