Skip to content

Commit

Permalink
fix(distrib): revert #5522 [backport release-5.6.0] (#5539)
Browse files Browse the repository at this point in the history
fix(distrib): revert #5522 (#5533)

Revert "fix(distrib): Updated installer script to write all interface names to snapshot file (#5522)"

This reverts commit c2ea2ff.

(cherry picked from commit a659d6e)

Co-authored-by: Mattia Dal Ben <[email protected]>
  • Loading branch information
eclipse-kura-bot and mattdibi authored Nov 12, 2024
1 parent 5987ac2 commit 132cd03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kura/distrib/src/main/resources/common/customize_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ def main():

interfaces_list = "lo"

for i, eth_name in enumerate(eth_names):
for i, eth_name in enumerate(eth_names[:2]):
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):
for i, wlan_name in enumerate(wlan_names[:1]):
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)
Expand Down

0 comments on commit 132cd03

Please sign in to comment.