... | @@ -20,7 +20,7 @@ linenew=$(echo ${line::-1}" net.ifnames=0\"") |
... | @@ -20,7 +20,7 @@ linenew=$(echo ${line::-1}" net.ifnames=0\"") |
|
echo "please change if not correct:"
|
|
echo "please change if not correct:"
|
|
echo $linenew
|
|
echo $linenew
|
|
linenew=$(echo $linenew | sed 's/\//\\\//g')
|
|
linenew=$(echo $linenew | sed 's/\//\\\//g')
|
|
sed 's/GRUB_CMDLINE_LINUX.*$/'"${linenew}"'/' /etc/default/grub
|
|
sed -i 's/GRUB_CMDLINE_LINUX.*$/'"${linenew}"'/' /etc/default/grub
|
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
|
```
|
|
```
|
|
|
|
|
... | | ... | |