I'm running Ubuntu 20.04 on WSL2 and I'm trying to change the hostname. Running hostnamectl
, I receive the error messages:
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to create bus connection: Host is down
I've tried installing/re-stalling and have yet to find an online solution to this. If this a duplicate, please forgive as I'm a coding newbie. Any help or point in the right direction would be appreciated.
Thank you,Alex