cloud-init to configure static IP network does not persist reboots

Solution Verified - Updated -

Issue

The machines are setup to have a static IP address configured. This setup is done on the Initial Run tab. On initial run the machine is configured correctly. When a machine is powered down and then started again, cloud-init will reset the network to DHCP.

Environment

  • Red Hat Enterprise Linux 7, 8
  • Red Hat Virtualization 4.x

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