Add temporary locale setting for cloud-init

r9_ks_fixes
Louis Abel 3 weeks ago
parent 9c227108d2
commit ebf7a38c6b
Signed by: label
GPG Key ID: B37E62D143879B36
  1. 2
      Rocky-9-GenericCloud.ks

@ -169,6 +169,8 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
if ! grep -q growpart /etc/cloud/cloud.cfg; then
sed -i 's/ - resizefs/ - growpart\n - resizefs/' /etc/cloud/cloud.cfg
fi
# temporary until 22.2
sed -i 's/^system_info:/locale: C.UTF-8\nsystem_info:/' /etc/cloud/cloud.cfg
# rocky cloud user
echo -e 'rocky\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers

Loading…
Cancel
Save