Skip to content

Commit

Permalink
fix(distrib): revert #5522 (#5533)
Browse files Browse the repository at this point in the history
Revert "fix(distrib): Updated installer script to write all interface names to snapshot file (#5522)"

This reverts commit c2ea2ff.
  • Loading branch information
mattdibi authored and MMaiero committed Dec 19, 2024
1 parent 4e93e72 commit c1fd8e0
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 c1fd8e0

Please sign in to comment.