mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
make --fresh apply to the second disk too
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -125,7 +125,9 @@ if [ "$QEMU" == "1" ] || [ "$BOOT_ISO" == "1" ] || [ "$BOOT_HD" == "1" ]; then
|
||||
fi
|
||||
|
||||
if [ "$SECOND_DRIVE" == "1" ]; then
|
||||
qemu-img create -f qcow2 -o size=10G ${HD2}
|
||||
if [ "$FRESH" == "1" ]; then
|
||||
qemu-img create -f qcow2 -o size=10G ${HD2}
|
||||
fi
|
||||
SECOND_DRIVE_ENABLE=$(eval "${hd["$ARCH"]} ${HD2}")
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user