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
da35a99f
"docs/references/multi_node_deployment/multi_node.md" did not exist on "6702592d0e6b61c9fdad211a0c5ef9999dcdae40"
Commit
da35a99f
authored
Jul 12, 2022
by
longpanda
Browse files
Support Fedora CoreOS (#1727)
parent
e46e24dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
+6
-0
INSTALL/grub/grub.cfg
INSTALL/grub/grub.cfg
+3
-1
No files found.
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
View file @
da35a99f
...
...
@@ -128,6 +128,12 @@ if [ -e /usr/sbin/anaconda-diskroot ]; then
$SED
's/^mount $dev $repodir/mount -oro $dev $repodir/'
-i
/usr/sbin/anaconda-diskroot
fi
#For Fedora CoreOS
if
$GREP
-i
-q
'fedora.*coreos'
/etc/os-release
;
then
$SED
"s#isosrc=.*#isosrc=/dev/mapper/ventoy#"
-i
/lib/systemd/system-generators/live-generator
cp
-a
$VTOY_PATH
/hook/rhel7/ventoy-make-link.sh /lib/dracut/hooks/pre-mount/99-ventoy-premount-mklink.sh
fi
if
[
-f
$VTOY_PATH
/autoinstall
]
;
then
cp
-a
$VTOY_PATH
/hook/rhel7/ventoy-autoexp.sh /lib/dracut/hooks/pre-mount/99-ventoy-autoexp.sh
fi
INSTALL/grub/grub.cfg
View file @
da35a99f
...
...
@@ -381,7 +381,9 @@ function distro_specify_initrd_file_phase2 {
vt_linux_specify_initrd_file /sysresccd/boot/i686/sysresccd.img
elif [ -f (loop)/boot/full.cz ]; then
vt_linux_specify_initrd_file /boot/full.cz
elif [ -f (loop)/images/pxeboot/initrd.img ]; then
vt_linux_specify_initrd_file /images/pxeboot/initrd.img
fi
}
...
...
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