Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions parts/k8s/cloud-init/artifacts/cse_customcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,6 @@ configureK8sCustomCloud() {
timeout 10 nc -vz ${LOGIN_ENDPOINT} 443 \
&& echo "login endpoint reachable: ${LOGIN_ENDPOINT}" \
|| echo "error: login endpoint not reachable: ${LOGIN_ENDPOINT}"

{{- if not IsAzureCNI}}
# Decrease eth0 MTU to mitigate Azure Stack's NRP issue
echo "iface eth0 inet dhcp" | sudo tee -a /etc/network/interfaces
echo " post-up /sbin/ifconfig eth0 mtu 1350" | sudo tee -a /etc/network/interfaces
ifconfig eth0 mtu 1350
{{end}}

{{else}}
ensureCustomCloudRootCertificates
ensureCustomCloudSourcesList
Expand Down
8 changes: 0 additions & 8 deletions pkg/engine/templates_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.