Skip to content

Commit

Permalink
Fix platform limitation for all sle and error in shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
teacup-on-rockingchair committed Aug 17, 2023
1 parent 42410fd commit a2d4a97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bas
# platform = Red Hat Enterprise Linux 7,sle12,sle15
#!/bin/bash
# platform = Red Hat Enterprise Linux 7,multi_platform_sle

# Removes kernel command line in /etc/default/grub
# Comments kernel command line in /etc/default/grub
sed -i '/^\s*GRUB_CMDLINE_LINUX=/s//#&/' '/etc/default/grub'
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bas
# platform = Red Hat Enterprise Linux 7,sle12,sle15
#!/bin/bash
# platform = Red Hat Enterprise Linux 7,multi_platform_sle

# Removes kernel command line in /etc/default/grub
sed -i '/^\s*GRUB_CMDLINE_LINUX=/d' '/etc/default/grub'

0 comments on commit a2d4a97

Please sign in to comment.