0

I have a ubuntu server 18.04 where I need to reinstall GRUB2 that got corrupted due to a bug. The solution is to start the server with a live cd, download and install grub from the shell and reboot the server.

So I started the 18.04 installer, moved to the shell and edited /etc/network/interfaces to setup a static IP

Now I need to restart the network but none of the common methods work. How can I restart the network? I cannot restart the server since any change I do will get lost at reboot.

Edit: For netplan I just have a file named 00-installer-config.yaml and nothing else. ifdown and ifup produce command not found each what can I do? Thanks

0 Answers0