We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93f86ee commit 42d0d60Copy full SHA for 42d0d60
cleanup_image.sh
@@ -66,7 +66,7 @@ if [[ -d "${mount}" ]]; then
66
# parted --script "${loopdev}" unit B resizepart "${rootfs_partnum}" "${rootfs_partend}"
67
# Can't use resizepart for shrinking with --script (parted bug#22167) => must rm then mkpart
68
if [ "$rootfs_partoldend" -gt "$rootfs_partend" ]; then
69
- echo y | sudo parted ---pretend-input-tty "${loopdev}" unit B resizepart "${rootfs_partnum}" "${rootfs_partend}"
+ echo y | parted ---pretend-input-tty "${loopdev}" unit B resizepart "${rootfs_partnum}" "${rootfs_partend}"
70
else
71
echo "Rootfs partition not resized as it was not shrunk"
72
fi
0 commit comments