From fed94e2b22f2f3bce1d05470d9fd573f75158c83 Mon Sep 17 00:00:00 2001 From: Andy Fingerhut Date: Wed, 19 Jun 2024 18:59:30 -0400 Subject: [PATCH] Correct a recently-added command syntax --- notes/macos-virtualbox-ubuntu-install-notes.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/notes/macos-virtualbox-ubuntu-install-notes.md b/notes/macos-virtualbox-ubuntu-install-notes.md index b424a64..d02ff00 100644 --- a/notes/macos-virtualbox-ubuntu-install-notes.md +++ b/notes/macos-virtualbox-ubuntu-install-notes.md @@ -191,7 +191,7 @@ run the third to disable the service intended for use in managing network interfaces on Ubuntu server: ```bash -$ systemctl ss-enabled NetworkManager-wait-online.service systemd-networkd-wait-online.service +$ systemctl is-enabled NetworkManager-wait-online.service systemd-networkd-wait-online.service enabled enabled @@ -199,12 +199,11 @@ $ systemctl is-enabled NetworkManager.service systemd-networkd.service enabled enabled -$ systemctl disable systemd-networkd.service -Removed "/etc/systemd/system/multi-user.target.wants/systemd-networkd.service". -Removed "/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service". -Removed "/etc/systemd/system/sockets.target.wants/systemd-networkd.socket". -Disabling 'systemd-networkd.service', but its triggering units are still active: -systemd-networkd.socket +$ sudo systemctl disable systemd-networkd.service +[sudo] password for andy: +Removed /etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service. +Removed /etc/systemd/system/sockets.target.wants/systemd-networkd.socket. +Removed /etc/systemd/system/multi-user.target.wants/systemd-networkd.service. ```