From 1269ef495eab1f91be3fb0b0a79b1d2aecc59f46 Mon Sep 17 00:00:00 2001 From: Pierantonio Merlino Date: Thu, 7 Nov 2024 15:25:55 +0100 Subject: [PATCH] fix(distrib): Updated installer script to write all interface names to snapshot file (#5522) Updated installer script to write all interface names to snapshot file Signed-off-by: pierantoniomerlino (cherry picked from commit c2ea2ff2cb793a5761b400c7d62f9fa1fabe1b79) --- kura/distrib/src/main/resources/common/customize_snapshot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kura/distrib/src/main/resources/common/customize_snapshot.py b/kura/distrib/src/main/resources/common/customize_snapshot.py index 22eb56c065..292df0e0c7 100644 --- a/kura/distrib/src/main/resources/common/customize_snapshot.py +++ b/kura/distrib/src/main/resources/common/customize_snapshot.py @@ -90,12 +90,12 @@ def main(): interfaces_list = "lo" - for i, eth_name in enumerate(eth_names[:2]): + for i, eth_name in enumerate(eth_names): snapshot_content = snapshot_content.replace('ETH_INTERFACE_' + str(i), eth_name) interfaces_list += "," + eth_name logging.info("%s : replaced ETH_INTERFACE_%s with %s", SNAPSHOT_FILENAME, str(i), eth_name) - for i, wlan_name in enumerate(wlan_names[:1]): + for i, wlan_name in enumerate(wlan_names): snapshot_content = snapshot_content.replace('WIFI_INTERFACE_' + str(i), wlan_name) interfaces_list += "," + wlan_name logging.info("%s : replaced WIFI_INTERFACE_%s with %s", SNAPSHOT_FILENAME, str(i), wlan_name)