... | @@ -21,6 +21,7 @@ echo "please change if not correct:" |
... | @@ -21,6 +21,7 @@ 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 's/GRUB_CMDLINE_LINUX.*$/'"${linenew}"'/' /etc/default/grub
|
|
|
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
|
```
|
|
```
|
|
|
|
|
|
2. Tell udev to rewrite. Create `/etc/udev/rules.d/70-persistent-net.rules` with:
|
|
2. Tell udev to rewrite. Create `/etc/udev/rules.d/70-persistent-net.rules` with:
|
... | | ... | |