Skip to content

Commit a115c6d

Browse files
Merge pull request #28012 from dankenigsberg/systemctl-enable-now
use `systemctl enable --now` shorthand
2 parents 84cf635 + a181b00 commit a115c6d

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

modules/installation-special-config-kmod.adoc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,10 @@ $ sudo kmods-via-containers build simple-kmod $(uname -r)
165165
----
166166

167167
. Enable and start the systemd service:
168-
.. Enable the service:
169168
+
170169
[source,terminal]
171170
----
172-
$ sudo systemctl enable [email protected]
173-
----
174-
175-
.. Start the service:
176-
+
177-
[source,terminal]
178-
----
179-
$ sudo systemctl start [email protected]
171+
$ sudo systemctl enable [email protected] --now
180172
----
181173

182174
.. Review the service status:

modules/ipi-install-preparing-the-provisioner-node-for-openshift-install.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ $ sudo firewall-cmd --reload
7676
+
7777
[source,terminal]
7878
----
79-
$ sudo systemctl start libvirtd
8079
$ sudo systemctl enable libvirtd --now
8180
----
8281

0 commit comments

Comments
 (0)