I am getting this SMG from cloud-init; with a clean installation of Ubuntu 18.04.1
Capture
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI am getting this SMG from cloud-init; with a clean installation of Ubuntu 18.04.1
Capture
You can configure getty@.service to wait until cloud-init.target has finished. Same concept as this answer, but waiting for network.target didn't work for me with the cloud-init messages.
mkdir /etc/systemd/system/getty@.service.d/
nano /etc/systemd/system/getty@.service.d/cloud-init_wait.conf #anything ending in .conf
[Unit]
After=cloud-init.target
I had a similar problem with Ubuntu Server 20.04.2 on a Hyper-V machine. Jeff's answer almost worked for me. This post suggests creating the directory
/etc/systemd/system/getty@tty1.service.d/
instead of
/etc/systemd/system/getty@.service.d/
The rest is identical. Create a .conf
file inside this directory, add the contents
[Unit]
After=cloud-init.target
to it and reboot. That should do the trick.
The solution that worked with me, as shown here, just create an empty file, type :
sudo touch /etc/cloud/cloud-init.disabled