Annotation of /trunk/grubby/test/results/add/g2-1.16
Parent Directory | Revision Log
Revision 3003 -
(hide annotations)
(download)
Tue Jun 27 14:14:00 2017 UTC (6 years, 11 months ago) by niro
File size: 6242 byte(s)
Tue Jun 27 14:14:00 2017 UTC (6 years, 11 months ago) by niro
File size: 6242 byte(s)
Make SET_VARIABLE get handled individually in GetNextLine()
1 | niro | 3003 | # |
2 | # DO NOT EDIT THIS FILE | ||
3 | # | ||
4 | # It is automatically generated by grub2-mkconfig using templates | ||
5 | # from /etc/grub.d and settings from /etc/default/grub | ||
6 | # | ||
7 | |||
8 | ### BEGIN /etc/grub.d/00_header ### | ||
9 | set pager=1 | ||
10 | |||
11 | if [ -s $prefix/grubenv ]; then | ||
12 | load_env | ||
13 | fi | ||
14 | if [ "${next_entry}" ] ; then | ||
15 | set default="${next_entry}" | ||
16 | set next_entry= | ||
17 | save_env next_entry | ||
18 | set boot_once=true | ||
19 | else | ||
20 | set default="${saved_entry}" | ||
21 | fi | ||
22 | |||
23 | if [ x"${feature_menuentry_id}" = xy ]; then | ||
24 | menuentry_id_option="--id" | ||
25 | else | ||
26 | menuentry_id_option="" | ||
27 | fi | ||
28 | |||
29 | export menuentry_id_option | ||
30 | |||
31 | if [ "${prev_saved_entry}" ]; then | ||
32 | set saved_entry="${prev_saved_entry}" | ||
33 | save_env saved_entry | ||
34 | set prev_saved_entry= | ||
35 | save_env prev_saved_entry | ||
36 | set boot_once=true | ||
37 | fi | ||
38 | |||
39 | function savedefault { | ||
40 | if [ -z "${boot_once}" ]; then | ||
41 | saved_entry="${chosen}" | ||
42 | save_env saved_entry | ||
43 | fi | ||
44 | } | ||
45 | |||
46 | function load_video { | ||
47 | if [ x$feature_all_video_module = xy ]; then | ||
48 | insmod all_video | ||
49 | else | ||
50 | insmod efi_gop | ||
51 | insmod efi_uga | ||
52 | insmod ieee1275_fb | ||
53 | insmod vbe | ||
54 | insmod vga | ||
55 | insmod video_bochs | ||
56 | insmod video_cirrus | ||
57 | fi | ||
58 | } | ||
59 | |||
60 | serial --speed=115200 | ||
61 | terminal_input serial console | ||
62 | terminal_output serial console | ||
63 | if [ x$feature_timeout_style = xy ] ; then | ||
64 | set timeout_style=menu | ||
65 | set timeout=5 | ||
66 | # Fallback normal timeout code in case the timeout_style feature is | ||
67 | # unavailable. | ||
68 | else | ||
69 | set timeout=5 | ||
70 | fi | ||
71 | ### END /etc/grub.d/00_header ### | ||
72 | |||
73 | ### BEGIN /etc/grub.d/00_tuned ### | ||
74 | set tuned_params="isolcpus=1,3" | ||
75 | ### END /etc/grub.d/00_tuned ### | ||
76 | |||
77 | ### BEGIN /etc/grub.d/01_users ### | ||
78 | if [ -f ${prefix}/user.cfg ]; then | ||
79 | source ${prefix}/user.cfg | ||
80 | if [ -n ${GRUB2_PASSWORD} ]; then | ||
81 | set superusers="root" | ||
82 | export superusers | ||
83 | password_pbkdf2 root ${GRUB2_PASSWORD} | ||
84 | fi | ||
85 | fi | ||
86 | ### END /etc/grub.d/01_users ### | ||
87 | |||
88 | ### BEGIN /etc/grub.d/10_linux ### | ||
89 | menuentry 'Red Hat Enterprise Linux Server' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-296.el7.x86_64-advanced-ae7b3742-9092-4432-9f7f-8abdbf0dc3db' { | ||
90 | load_video | ||
91 | set gfxpayload=keep | ||
92 | insmod gzio | ||
93 | insmod part_msdos | ||
94 | insmod xfs | ||
95 | set root='hd0,msdos1' | ||
96 | if [ x$feature_platform_search_hint = xy ]; then | ||
97 | search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' cae02b39-f239-4d26-9032-674d261c93d8 | ||
98 | else | ||
99 | search --no-floppy --fs-uuid --set=root cae02b39-f239-4d26-9032-674d261c93d8 | ||
100 | fi | ||
101 | linux16 /vmlinuz-foo root=/dev/mapper/foo-- ro crashkernel=auto rd.lvm.lv=rhel_hp-dl380pgen8-02-vm-10/root rd.lvm.lv=rhel_hp-dl380pgen8-02-vm-10/swap console=ttyS0,115200n81 $tuned_params LANG=en_US.UTF-8 | ||
102 | } | ||
103 | menuentry 'Red Hat Enterprise Linux Server (3.10.0-297.el7.x86_64) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-296.el7.x86_64-advanced-ae7b3742-9092-4432-9f7f-8abdbf0dc3db' { | ||
104 | load_video | ||
105 | set gfxpayload=keep | ||
106 | insmod gzio | ||
107 | insmod part_msdos | ||
108 | insmod xfs | ||
109 | set root='hd0,msdos1' | ||
110 | if [ x$feature_platform_search_hint = xy ]; then | ||
111 | search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' cae02b39-f239-4d26-9032-674d261c93d8 | ||
112 | else | ||
113 | search --no-floppy --fs-uuid --set=root cae02b39-f239-4d26-9032-674d261c93d8 | ||
114 | fi | ||
115 | linux16 /vmlinuz-3.10.0-297.el7.x86_64 root=/dev/mapper/rhel_hp--dl380pgen8--02--vm--10-root ro crashkernel=auto rd.lvm.lv=rhel_hp-dl380pgen8-02-vm-10/root rd.lvm.lv=rhel_hp-dl380pgen8-02-vm-10/swap console=ttyS0,115200n81 $tuned_params LANG=en_US.UTF-8 | ||
116 | } | ||
117 | menuentry 'Red Hat Enterprise Linux Server (3.10.0-296.el7.x86_64) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-296.el7.x86_64-advanced-ae7b3742-9092-4432-9f7f-8abdbf0dc3db' { | ||
118 | load_video | ||
119 | set gfxpayload=keep | ||
120 | insmod gzio | ||
121 | insmod part_msdos | ||
122 | insmod xfs | ||
123 | set root='hd0,msdos1' | ||
124 | if [ x$feature_platform_search_hint = xy ]; then | ||
125 | search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' cae02b39-f239-4d26-9032-674d261c93d8 | ||
126 | else | ||
127 | search --no-floppy --fs-uuid --set=root cae02b39-f239-4d26-9032-674d261c93d8 | ||
128 | fi | ||
129 | linux16 /vmlinuz-3.10.0-296.el7.x86_64 root=/dev/mapper/rhel_hp--dl380pgen8--02--vm--10-root ro crashkernel=auto rd.lvm.lv=rhel_hp-dl380pgen8-02-vm-10/root rd.lvm.lv=rhel_hp-dl380pgen8-02-vm-10/swap console=ttyS0,115200n81 $tuned_params | ||
130 | initrd16 /initramfs-3.10.0-296.el7.x86_64.img | ||
131 | } | ||
132 | menuentry 'Red Hat Enterprise Linux Server (0-rescue-cc21b92886f9ebbd3ed5a494639b7fd7) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-cc21b92886f9ebbd3ed5a494639b7fd7-advanced-ae7b3742-9092-4432-9f7f-8abdbf0dc3db' { | ||
133 | load_video | ||
134 | insmod gzio | ||
135 | insmod part_msdos | ||
136 | insmod xfs | ||
137 | set root='hd0,msdos1' | ||
138 | if [ x$feature_platform_search_hint = xy ]; then | ||
139 | search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' cae02b39-f239-4d26-9032-674d261c93d8 | ||
140 | else | ||
141 | search --no-floppy --fs-uuid --set=root cae02b39-f239-4d26-9032-674d261c93d8 | ||
142 | fi | ||
143 | linux16 /vmlinuz-0-rescue-cc21b92886f9ebbd3ed5a494639b7fd7 root=/dev/mapper/rhel_hp--dl380pgen8--02--vm--10-root ro crashkernel=auto rd.lvm.lv=rhel_hp-dl380pgen8-02-vm-10/root rd.lvm.lv=rhel_hp-dl380pgen8-02-vm-10/swap console=ttyS0,115200n81 $tuned_params | ||
144 | initrd16 /initramfs-0-rescue-cc21b92886f9ebbd3ed5a494639b7fd7.img | ||
145 | } | ||
146 | if [ "x$default" = 'Red Hat Enterprise Linux Server (3.10.0-296.el7.x86_64) 7.2 (Maipo)' ]; then default='Advanced options for Red Hat Enterprise Linux Server>Red Hat Enterprise Linux Server (3.10.0-296.el7.x86_64) 7.2 (Maipo)'; fi; | ||
147 | ### END /etc/grub.d/10_linux ### | ||
148 | |||
149 | ### BEGIN /etc/grub.d/20_linux_xen ### | ||
150 | ### END /etc/grub.d/20_linux_xen ### | ||
151 | |||
152 | ### BEGIN /etc/grub.d/20_ppc_terminfo ### | ||
153 | ### END /etc/grub.d/20_ppc_terminfo ### | ||
154 | |||
155 | ### BEGIN /etc/grub.d/30_os-prober ### | ||
156 | ### END /etc/grub.d/30_os-prober ### | ||
157 | |||
158 | ### BEGIN /etc/grub.d/40_custom ### | ||
159 | # This file provides an easy way to add custom menu entries. Simply type the | ||
160 | # menu entries you want to add after this comment. Be careful not to change | ||
161 | # the 'exec tail' line above. | ||
162 | ### END /etc/grub.d/40_custom ### | ||
163 | |||
164 | ### BEGIN /etc/grub.d/41_custom ### | ||
165 | if [ -f ${config_directory}/custom.cfg ]; then | ||
166 | source ${config_directory}/custom.cfg | ||
167 | elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then | ||
168 | source $prefix/custom.cfg; | ||
169 | fi | ||
170 | ### END /etc/grub.d/41_custom ### |