You’re gonna want to change that hostname, bruh.
Linux Server Install: Part 7
This is kind of whack, but it might be needed to fix LVM on Ubuntu, bruh.
hostname should be obvious (ubuntu) but you can check with:
You can get more information with:
To change the
hostname, you can run:
sudo hostnamectl set-hostname [hostname]
[hostname] is the name you want it to be. If you run
hostnamectl again, you should see the new
There’s one more place you need to change it and that’s in
sudo nano /etc/hosts
ubuntu to the name you selected in the previous step.
That’s it! Your server should now be using the new
hostname. You may need to log out and log back in for the changes to take effect.
Some applications may still use the old hostname until they are restarted. You may need to restart these applications manually to update their configuration.