"examples/vscode:/vscode.git/clone" did not exist on "49644babd305c9d0898ecd97ce368800e8ad092b"
Commit 33a562c2 authored by longpanda's avatar longpanda
Browse files

support inst.ks=cdrom:/xxx for CentOS 7

parent 75517039
...@@ -37,6 +37,12 @@ else ...@@ -37,6 +37,12 @@ else
VTKS="ks=hd:/dev/dm-0:$vtRawKs" VTKS="ks=hd:/dev/dm-0:$vtRawKs"
break break
fi 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 done
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment