cloud-init creates an additional swap entry in /etc/fstab

Solution Unverified - Updated -


  • On a RHEL image which has a swap device configured, cloud-init adds its own duplicate entry into /etc/fstab for the swap device


  • Red Hat Enterprise Linux (RHEL) 7.4
  • cloud-init 0.7.9-20

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In