Skip to content

Commit 9078f4b

Browse files
francesco-giordanolukeseawalker
authored andcommitted
Fix DeviceIndex value to 1 on secondary interfaces for the headnode
Signed-off-by: Francesco Giordano <[email protected]>
1 parent 6643169 commit 9078f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/pcluster/templates/cluster_stack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ def _add_head_node(self):
861861
for network_interface_index in range(1, head_node.max_network_interface_count):
862862
head_lt_nw_interfaces.append(
863863
ec2.CfnLaunchTemplate.NetworkInterfaceProperty(
864-
device_index=0,
864+
device_index=1,
865865
network_card_index=network_interface_index,
866866
groups=head_lt_security_groups,
867867
subnet_id=head_node.networking.subnet_id,

0 commit comments

Comments
 (0)