From 0cd6191158efcd487c1fc0bfd2599c6ce22eb130 Mon Sep 17 00:00:00 2001 From: Michael Trip Date: Tue, 18 Feb 2020 15:07:09 +0100 Subject: [PATCH] changed added software for growpart --- vm-firstrun.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vm-firstrun.sh b/vm-firstrun.sh index fac470f..6c286fe 100644 --- a/vm-firstrun.sh +++ b/vm-firstrun.sh @@ -38,6 +38,9 @@ fi log "Setting hostname from '${old_hostname}' to '${new_hostname}'" hostnamectl set-hostname "${new_hostname}" +log "Add necessary software to grow disk" +yum install cloud-utils-growpart gdisk -y + if [ -b "${CFG_ROOTFS_DISK}" ]; then if [ -b "${CFG_ROOTFS_DISK}${CFG_ROOTFS_PARTITION}" ]; then