changed added software for growpart

This commit is contained in:
Michael Trip 2020-02-18 15:07:09 +01:00
parent 8f9b87af34
commit 0cd6191158

View file

@ -38,6 +38,9 @@ fi
log "Setting hostname from '${old_hostname}' to '${new_hostname}'" log "Setting hostname from '${old_hostname}' to '${new_hostname}'"
hostnamectl set-hostname "${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}" ]; then
if [ -b "${CFG_ROOTFS_DISK}${CFG_ROOTFS_PARTITION}" ]; then if [ -b "${CFG_ROOTFS_DISK}${CFG_ROOTFS_PARTITION}" ]; then