[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/6] CI: use Alpine's network setup


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Ariadne Conill <ariadne@ariadne.space>
  • Date: Wed, 1 Apr 2026 10:36:26 -0700
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=dkim header.d=ariadne.space header.i="@ariadne.space" header.h="From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References"
  • Delivery-date: Wed, 01 Apr 2026 17:36:57 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi,

On 3/31/26 16:24, Marek Marczykowski-Górecki wrote:
This allows Alpine startup script to properly handle service
dependencies - necessary for starting dropbear ssh server.
For the latter, always take the IP address from DHCP, in addition to the
test-local one.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
  automation/scripts/qubes-x86-64.sh | 20 +++++++++-----------
  1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/automation/scripts/qubes-x86-64.sh 
b/automation/scripts/qubes-x86-64.sh
index 7a59fa5f1116..91c0d5bec829 100755
--- a/automation/scripts/qubes-x86-64.sh
+++ b/automation/scripts/qubes-x86-64.sh
@@ -214,25 +214,23 @@ cat "${dom0_rootfs_parts[@]}" > 
binaries/dom0-rootfs.cpio.gz
  # test-local configuration
  mkdir -p rootfs
  cd rootfs
-mkdir -p boot etc/local.d root
+mkdir -p boot etc/local.d root etc/network
  cp -a ../automation/scripts/run-tools-tests root/
+echo "
+auto xenbr0
+iface xenbr0 inet dhcp
+    bridge-ports eth0
+    bridge-stp 0
+    up ip a a 192.168.0.1/24 dev \$IFACE

Why not "address 192.168.0.1/24" here?  The DHCP client will still get run.  You can verify with ifquery(8).

Ariadne




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.