mirror of https://github.com/ventoy/Ventoy.git
support inst.ks=cdrom:/xxx for CentOS 7
This commit is contained in:
parent
75517039a1
commit
33a562c273
|
@ -37,6 +37,12 @@ else
|
|||
VTKS="ks=hd:/dev/dm-0:$vtRawKs"
|
||||
break
|
||||
fi
|
||||
|
||||
if echo $vtParam | $GREP -q '^inst.ks=.*:/'; then
|
||||
vtRawKs=$(echo $vtParam | $AWK -F: '{print $NF}')
|
||||
VTKS="inst.ks=hd:/dev/dm-0:$vtRawKs"
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue