1
0
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:
Sven Dowideit
2016-12-22 20:14:35 +10:00
parent 6bbed5fd4c
commit e5a7889ce9
3 changed files with 197 additions and 1 deletions

View File

@@ -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