Update disk.sh
This commit is contained in:
parent
17f0bcf701
commit
1b8dcae82f
1 changed files with 2 additions and 2 deletions
|
@ -543,7 +543,7 @@ if [ -z "${MEDIA_TYPE:-}" ]; then
|
|||
MEDIA_TYPE="$DISK_TYPE"
|
||||
fi ;;
|
||||
"blk" | "auto" )
|
||||
if [[ "${MACHINE,,}" != "virt" ]] && [[ "${MACHINE,,}" != "pc-i440fx-2"* ]];
|
||||
if [[ "${MACHINE,,}" != "virt" ]] && [[ "${MACHINE,,}" != "pc-i440fx-2"* ]]; then
|
||||
MEDIA_TYPE="ide"
|
||||
else
|
||||
MEDIA_TYPE="auto"
|
||||
|
@ -565,7 +565,7 @@ DRIVERS="/drivers.iso"
|
|||
[ ! -f "$DRIVERS" ] || [ ! -s "$DRIVERS" ] && DRIVERS="$STORAGE/drivers.iso"
|
||||
|
||||
if [ -f "$DRIVERS" ] && [ -s "$DRIVERS" ]; then
|
||||
if [[ "${MACHINE,,}" != "virt" ]] && [[ "${MACHINE,,}" != "pc-i440fx-2"* ]];
|
||||
if [[ "${MACHINE,,}" != "virt" ]] && [[ "${MACHINE,,}" != "pc-i440fx-2"* ]]; then
|
||||
DRIVER_TYPE="ide"
|
||||
else
|
||||
DRIVER_TYPE="auto"
|
||||
|
|
Loading…
Reference in a new issue