File tree Expand file tree Collapse file tree
parts/linux/cloud-init/artifacts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -405,8 +405,11 @@ function nodePrep {
405405 # Configure Azure network settings (udev rules for NIC configuration)
406406 logs_to_events " AKS.CSE.ensureAzureNetworkConfig" ensureAzureNetworkConfig
407407
408- # Bring up secondary Standard-type NICs (if any) via IMDS metadata
409- logs_to_events " AKS.CSE.configureSecondaryNICs" configureSecondaryNICs || exit $ERR_SECONDARY_NIC_CONFIG_FAIL
408+ # Bring up secondary Standard-type NICs (if any) via IMDS metadata.
409+ # Can be disabled via VMSS tag "SkipSecondaryNICConfig=true".
410+ if [ " $( get_imds_vm_tag_value ' SkipSecondaryNICConfig' ) " != " true" ]; then
411+ logs_to_events " AKS.CSE.configureSecondaryNICs" configureSecondaryNICs || exit $ERR_SECONDARY_NIC_CONFIG_FAIL
412+ fi
410413
411414 # Determine if GPU driver installation should be skipped
412415 export -f should_skip_nvidia_drivers
You can’t perform that action at this time.
0 commit comments