Skip to content

Commit

Permalink
Merge branch 'nested/2024.3' of https://github.com/aristanetworks/tra…
Browse files Browse the repository at this point in the history
…ining-infra-public into nested/2024.3
  • Loading branch information
tatanithin committed Jan 13, 2025
2 parents d5442c9 + 3fab187 commit e71fc48
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nested-labvm/services/atdStartup/atdStartup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,12 @@ if [ -f "/opt/clab/scripts/containerlabs_setup.py" ]
then
bash /opt/clab/scripts/veth-connection.sh >> /opt/clab/scripts/log.txt
fi

os_name=$(grep -i '^NAME=' /etc/os-release | cut -d'=' -f2 | tr -d '"')
# Check if the OS name is AlmaLinux
if [[ "$os_name" == "AlmaLinux" ]]; then
sudo ip route del 192.168.0.0/24 dev vmgmt
sudo ip route add 192.168.0.0/25 dev vmgmt
fi

# if cEOS Startup present, run it
if [ -f "/opt/ceos/scripts/.ceos.txt" ]
Expand Down

0 comments on commit e71fc48

Please sign in to comment.