Browse Source

Update 'new-suse.sh'

Marcel Stangenberger 5 months ago
parent
commit
2e59d2655c
1 changed files with 0 additions and 3 deletions
  1. 0 3
      new-suse.sh

+ 0 - 3
new-suse.sh

@@ -18,9 +18,6 @@ then
         echo "Configure GRUB"
         sed -i 's/GRUB_CMDLINE_LINUX=\"/GRUB_CMDLINE_LINUX=\"net.ifnames=0 /' /etc/default/grub
         grub2-mkconfig -o $(find /boot -name grub.cfg)
-        mv /etc/sysconfig/network-scripts/ifcfg* /etc/sysconfig/network-scripts/ifcfg-eth0
-        sed -i 's/NAME=.*/NAME=eth0/' /etc/sysconfig/network-scripts/ifcfg-eth0
-        sed -i 's/DEVICE=.*/DEVICE=eth0/' /etc/sysconfig/network-scripts/ifcfg-eth0
 else
         echo "GRUB configuration not required"
 fi