Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
7fc72d5c
"tools/vscode:/vscode.git/clone" did not exist on "f77c3e5bf40854674aeeac4479e10dd3d64a6db5"
Commit
7fc72d5c
authored
Sep 19, 2022
by
longpanda
Browse files
Fix a bug when ISO contains a ks=file:/xxx boot parameter.
parent
b7c3cbd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
+4
-0
No files found.
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
View file @
7fc72d5c
...
...
@@ -26,6 +26,10 @@ if [ -f $VTOY_PATH/autoinstall ]; then
VTKS
=
"inst.ks=file:
$VTOY_PATH
/autoinstall"
else
for
vtParam
in
$(
$CAT
/proc/cmdline
)
;
do
if
echo
$vtParam
|
$GREP
-q
'ks=file:/'
;
then
continue
fi
if
echo
$vtParam
|
$GREP
-q
'inst.ks=hd:LABEL='
;
then
vtRawKsFull
=
"
$vtParam
"
vtRawKs
=
$(
echo
$vtParam
|
$AWK
-F
:
'{print $NF}'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment