Skip to content

Commit

Permalink
fix(distrib): Updated installer script to write all interface names t…
Browse files Browse the repository at this point in the history
…o snapshot file (#5522)

Updated installer script to write all interface names to snapshot file

Signed-off-by: pierantoniomerlino <[email protected]>
(cherry picked from commit c2ea2ff)
  • Loading branch information
pierantoniomerlino authored and github-actions[bot] committed Nov 7, 2024
1 parent ca1a41e commit 1269ef4
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[: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)
Expand Down

0 comments on commit 1269ef4

Please sign in to comment.