summaryrefslogtreecommitdiff
path: root/docs/tutorials/mac_win_client.md
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-11-16 11:59:52 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2020-11-17 06:49:53 -0500
commitd200801152e0f2fd4ae62549c5d12037ac6deed7 (patch)
tree24b295e018b86ee1cfcc0abdbfbe4233d55a8d85 /docs/tutorials/mac_win_client.md
parentd30f9ae8b6a21fbef6704e372e9ec74fc689875e (diff)
downloadpodman-d200801152e0f2fd4ae62549c5d12037ac6deed7.tar.gz
podman-d200801152e0f2fd4ae62549c5d12037ac6deed7.tar.bz2
podman-d200801152e0f2fd4ae62549c5d12037ac6deed7.zip
Cleanup tutorials
Inspired by @kannkyo PR. Eliminate sudo when commands will work fine in rootless mode. Make all commands in tutorials easily cut and pastable, by eliminating $ and > symbols. This should make them all consistant agross different tutorials. Also make all systemctl enable calls use the --now option. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/tutorials/mac_win_client.md')
-rw-r--r--docs/tutorials/mac_win_client.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/mac_win_client.md b/docs/tutorials/mac_win_client.md
index 9e0798bbf..af2668e10 100644
--- a/docs/tutorials/mac_win_client.md
+++ b/docs/tutorials/mac_win_client.md
@@ -36,7 +36,7 @@ $ systemctl --user enable --now podman.socket
You will need to enable linger for this user in order for the socket to work when the user is not logged in.
```
-$ sudo loginctl enable-linger $USER
+sudo loginctl enable-linger $USER
```
You can verify that the socket is listening with a simple Podman command.
@@ -55,7 +55,7 @@ host:
In order for the client to communicate with the server you need to enable and start the SSH daemon on your Linux machine, if it is not currently enabled.
```
-$ sudo systemctl enable -s sshd
+sudo systemctl enable --now -s sshd
```
#### Setting up SSH