diff --git a/qemu/tests/cfg/block_resize.cfg b/qemu/tests/cfg/block_resize.cfg index b3fae79ff0..5f499fe5ca 100644 --- a/qemu/tests/cfg/block_resize.cfg +++ b/qemu/tests/cfg/block_resize.cfg @@ -21,8 +21,7 @@ dd_cmd = "dd if=/dev/urandom of=%s oflag=direct bs=1M count=10" Linux: iozone_option = " -azR -r 64k -n 512M -g 1G -I -i 0 -i 1 -f %s/testfile" - guest_part_cmd = "which sgdisk || { echo 'Deploy gdisk first';" - guest_part_cmd += " yum install gdisk -y; } ;sgdisk -e /dev/%s" + guest_part_cmd = "echo -e 'Fix\n'| parted ---pretend-input-tty /dev/%s print" qcow2: Host_RHEL.m6, Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2, Host_RHEL.m7.u3, Host_RHEL.m7.u4, Host_RHEL.m7.u5: disk_change_ratio = ${extend_ratio}