-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HACK: work around initrd issue in sle11sp4
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# HACK | ||
# This problem should be fixed when we build the image | ||
# https://build.suse.de/package/show/Devel:Galaxy:Terraform:Images/sles11sp4 | ||
{% if grains['osfullname'] == 'SLES' %} | ||
|
||
{% if grains['osrelease'] == '11.4' %} | ||
grub_hack: | ||
file.replace: | ||
- name: /boot/grub/menu.lst | ||
- pattern: ^(title.*)$ | ||
- count: 1 | ||
- repl: | | ||
title sles11sp4_fixed | ||
root (hd0,0) | ||
kernel /boot/vmlinuz vga=0x314 splash=silent console=tty0 console=ttyS0,115200 root=/dev/vda1 disk=/dev/vda nomodeset elevator=noop showopts | ||
initrd /boot/initrd | ||
\1 | ||
{% endif %} | ||
|
||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters