-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve template macros for grub command line #10989
Changes from 3 commits
0bf1509
fe93d87
42410fd
a2d4a97
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bas | ||
# platform = Red Hat Enterprise Linux 7,sle12,sle15 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can't use the short IDs, you should use full names:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. used a multi_platform_sle instead , anyways that was the idea |
||
|
||
# Removes kernel command line in /etc/default/grub | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It doesn't exactly remove it, instead, it comments it out. |
||
sed -i '/^\s*GRUB_CMDLINE_LINUX=/s//#&/' '/etc/default/grub' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bas | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing h |
||
# platform = Red Hat Enterprise Linux 7,sle12,sle15 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can't use the short IDs, you should use full names |
||
|
||
# Removes kernel command line in /etc/default/grub | ||
sed -i '/^\s*GRUB_CMDLINE_LINUX=/d' '/etc/default/grub' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing h