Ubuntu Servers
apt update
apt install -y cloud-init cloud-initramfs-growroot qemu-guest-agent acl
# Run this command just before shutdown after becoming root with "sudo su -"
cloud-init clean --logs --machine-id --seed
Debian
apt update
apt install -y cloud-init cloud-initramfs-growroot qemu-guest-agent acl
# Run this command just before shutdown after becoming root with "sudo su -"
cloud-init clean --logs --machine-id --seed
Ubuntu
apt update
apt install -y cloud-init cloud-initramfs-growroot qemu-guest-agent acl
# Run this command just before shutdown after becoming root with "sudo su -"
cloud-init clean --logs --machine-id --seed
Fedora
dnf update -y
dnf install -y cloud-init cloud-utils-growpart qemu-guest-agent acl
# Run this command just before shutdown after becoming root with "sudo su -"
cloud-init clean --logs --machine-id --seed
CentOS
yum update -y
yum install -y cloud-init cloud-utils-growpart qemu-guest-agent acl
# Run this command just before shutdown after becoming root with "sudo su -"
cloud-init clean --logs --machine-id --seed
RHEL
yum update -y
yum install -y cloud-init cloud-utils-growpart qemu-guest-agent acl
# Run this command just before shutdown after becoming root with "sudo su -"
cloud-init clean --logs --machine-id --seed
Rocky Linux
dnf update -y
dnf install -y cloud-init cloud-utils-growpart qemu-guest-agent acl
# Run this command just before shutdown after becoming root with "sudo su -"
cloud-init clean --logs --machine-id --seed
AlmaLinux
dnf update -y
dnf install -y cloud-init cloud-utils-growpart qemu-guest-agent acl
# Run this command just before shutdown after becoming root with "sudo su -"
cloud-init clean --logs --machine-id --seed
openSUSE Leap
zypper refresh
zypper install -y cloud-init growpart qemu-guest-agent acl
# Run this command just before shutdown after becoming root with "sudo su -"
cloud-init clean --logs --machine-id --seed
openSUSE Tumbleweed