Changing hostname in Ubuntu 18.04.2 LTS is different from previous versions. You can use following command [crayon-6513b98349cc2640638218/] After this you need to set preserve hostname setting in /etc/cloud/cloud.cfg From [crayon-6513b98349cc7233614986/] TO [crayon-6513b98349cc8738113721/] This will preserve new hostname after reboot. … [Read more...]
Configuring Static IP in Ubuntu 18.04.2 LTS (Bionic Beaver)
February 14, 2019 by Leave a Comment
The method of configuring static ip in Ubuntu 18.04.2 LTS is different from its previous variants. Previously it was to configure in /etc/network/interfaces file, however in Ubuntu 18.04.2 LTS, it is setup in /etc/netplan/50-cloud-init.yaml file. [crayon-6513b9834a19d158712539/] Content of this file is [crayon-6513b9834a1a1762382719/] I have edited this file like … [Read more...]