changed added software for growpart
This commit is contained in:
parent
8f9b87af34
commit
0cd6191158
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue