How to Manage Persistent Network Settings in Azure VMs with NetworkManager

Solution Verified - Updated -

Issue

  • I changed the MTU value with nmcli con mod command but when I reboot the VM the settings are reverted back.
  • cloud-init keeps re-writing the network profile.
  • How to use nmcli and nm-cloud-setup to Control Azure VM Networking.

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 9.0
    • 8.0
  • NetworkManager-cloud-setup
  • nm-cloud-setup.service

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content