Skip to content

Commit 12fbe56

Browse files
author
Himani Anil Deshpande
committed
[Rhel + Rocky] Increasing the priority for Parallelcluster ip routes
1 parent 17a93ba commit 12fbe56

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ then
2424
fi
2525

2626
con_name="System ${DEVICE_NAME}"
27-
SUFFIX=$NETWORK_CARD_INDEX$(printf "%02d" $DEVICE_NUMBER)
28-
route_table="$(( $SUFFIX + 1000 ))"
27+
SUFFIX=$NETWORK_CARD_INDEX$DEVICE_NUMBER
28+
route_table="$(( $SUFFIX + 50 ))"
2929
priority="${route_table}"
3030
metric="${route_table}"
3131

cookbooks/aws-parallelcluster-environment/files/rocky/network_interfaces/configure_nw_interface.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ then
2424
fi
2525

2626
con_name="System ${DEVICE_NAME}"
27-
SUFFIX=$NETWORK_CARD_INDEX$(printf "%02d" $DEVICE_NUMBER)
28-
route_table="$(( $SUFFIX + 1000 ))"
27+
SUFFIX=$NETWORK_CARD_INDEX$DEVICE_NUMBER
28+
route_table="$(( $SUFFIX + 50 ))"
2929
priority="${route_table}"
3030
metric="${route_table}"
3131

0 commit comments

Comments
 (0)