I'm seeing a lot of guides on internet telling me to assign through
cd /etc/netplan
sudo nano 50-cloud-init.yaml
Unfortunately I edited it with tabs at first and now I'm not sure how to fix that mistake.
Also, it says that changes in this file will not take effect!
#This file is generated from information provided by
#the datasource. Changes to it will not persist across an instance.
How can I revert this file back to default and make the proper edits to assign our Ubuntu server a static IP?