A VM boots very slowly, and `systemd-analyze blame` shows `NetworkManager-wait-online.service` taking 1m30s.
IntermediateTroubleshootingBoot, time, cron and kernel
Answer
Likely causes → An interface configured for DHCP never gets a lease (an unused NIC), so wait-online waits for its timeout.
Diagnose →
systemd-analyze critical-chain
nmcli dev status
journalctl -b -u NetworkManager | grep -i dhcp
Fix → Disable autoconnect on unused interfaces (nmcli con mod <name> connection.autoconnect no), or mark them not required. Disable wait-online only if no service needs network-online.target.
Prevent → Keep network profiles in images minimal and accurate.
More on Boot, time, cron and kernel
After a reboot the server drops to `You are in emergency mode. After logging in, type "journalctl -xb" to view system logs`.IntermediateBoot stops at `dracut-initqueue: Warning: dracut-initqueue timeout - starting timeout scripts` and then a `dracut:/#` shell.AdvancedA server shows a `grub>` prompt instead of booting.AdvancedThe kernel panics at boot: `Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)`.AdvancedBoot hangs for 90 seconds with `A start job is running for dev-disk-by\x2duuid-...device (1min 30s)`.IntermediateLogs from different servers are out of order and `timedatectl` shows `System clock synchronized: no` and `NTP service: inactive`.Beginner