Run sgdisk commands in-target for Ubuntu
Run sgdisk in chroot on CentOS to prevent missing shared library error