mirror of
https://github.com/rancher/os.git
synced 2025-09-12 13:17:17 +00:00
Test resize, and update docs
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user