1
0
mirror of https://github.com/rancher/os.git synced 2025-09-12 13:17:17 +00:00

Merge pull request #1890 from SvenDowideit/resize_and_autoformat

Test resize, and update docs
This commit is contained in:
Sven Dowideit
2017-06-05 15:46:13 +10:00
committed by GitHub
7 changed files with 74 additions and 15 deletions

View File

@@ -22,6 +22,10 @@ while [ "$#" -gt 0 ]; do
QIND=0
REBUILD=0
;;
--resizehd)
shift 1
RESIZEHD=$1
;;
--pxe)
BOOT_PXE=1
;;
@@ -198,6 +202,10 @@ if [ "$QEMU" == "1" ] || [ "$BOOT_ISO" == "1" ] || [ "$BOOT_HD" == "1" ]; then
fi
fi
fi
else
if [ "$RESIZEHD" != "" ]; then
qemu-img resize ${HD} ${RESIZEHD}
fi
fi
if [ "$SECOND_DRIVE" == "1" ]; then