cloud-init fails to resize partition: growpart doesn't work when LANG is not en_US

Solution Verified - Updated -

Issue

  • growpart doesn't work as intended when LANG is customized
  • cloud-init doesn't resize root partition when LANG is not en_US
  • RHEL cloud images with non-default locales are failing to resize root partition

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

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