Start with host-specific install config generation
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
72cd3aba20
commit
d9264225b5
4 changed files with 45 additions and 0 deletions
28
roles/tftp_server/templates/grubhost.cfg.j2
Normal file
28
roles/tftp_server/templates/grubhost.cfg.j2
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
set default="0"
|
||||
|
||||
function load_video {
|
||||
if [ x$feature_all_video_module = xy ]; then
|
||||
insmod all_video
|
||||
else
|
||||
insmod efi_gop
|
||||
insmod efi_uga
|
||||
insmod ieee1275_fb
|
||||
insmod vbe
|
||||
insmod vga
|
||||
insmod video_bochs
|
||||
insmod video_cirrus
|
||||
fi
|
||||
}
|
||||
|
||||
load_video
|
||||
set gfxpayload=keep
|
||||
insmod gzio
|
||||
insmod part_gpt
|
||||
insmod ext2
|
||||
|
||||
set timeout=5
|
||||
|
||||
menuentry 'Install {{ item }}' --class red --class gnu-linux --class gnu --class os {
|
||||
linux {{ hostvars[item].install_binpath }}/vmlinuz ip=dhcp biosdevname=0 ksdevice=eth0 net.ifnames=0 ks={{ hostvars[item].install_ks }} inst.repo={{ hostvars[item].install_repo }} nomodeset
|
||||
initrd {{ hostvars[item].install_binpath }}/initrd.img
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue