Skip to content

Commit 9439ed7

Browse files
committed
Remove device name and ip address from required parameters of configure_nw_interface.sh
1 parent 73d45a2 commit 9439ed7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88

99
set -e
1010

11+
# commented out inputs are not required and don't exist for efa-only interfaces
1112
if
12-
[ -z "${DEVICE_NAME}" ] || # name of the device
13+
# [ -z "${DEVICE_NAME}" ] || # name of the device
1314
[ -z "${DEVICE_NUMBER}" ] || # index of the device
1415
[ -z "${NETWORK_CARD_INDEX}" ] || # index of the network card
1516
[ -z "${GW_IP_ADDRESS}" ] || # gateway ip address
16-
[ -z "${DEVICE_IP_ADDRESS}" ] || # ip address to assign to the interface
17+
# [ -z "${DEVICE_IP_ADDRESS}" ] || # ip address to assign to the interface
1718
[ -z "${CIDR_PREFIX_LENGTH}" ] || # the prefix length of the device IP cidr block
1819
[ -z "${NETMASK}" ] # netmask to apply to device ip address
1920
then

0 commit comments

Comments
 (0)