From fcda8cbf3050800212b946f0e877d1c60ec1a053 Mon Sep 17 00:00:00 2001 From: "yuancun.nie" Date: Mon, 24 Feb 2020 15:54:16 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa64d1c..1122da0 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ The prompts `#` show that you are working at root. * Add your SSH-key to the host `obelix# ssh-copy-id lasXXX.las.kit.edu` * In case it does not work, you have to copy it by hand (copy the content of your key e.g. `~/.ssh/id_rsa.pub` to the new computer root's `~/.ssh/authorized_keys` file and set the access rights to 600) * and enable Key-based root login. (in `/etc/ssh/sshd_config` write `PermitRootLogin without-password`) -* Install ansible dependencies: `lasXXX$ sudo dnf install sudo ansible git python3-dnf python3-netaddr python3-libselinux` +* Open a new terminal, install ansible dependencies on the new host: `lasXXX$ sudo dnf install sudo ansible git python3-dnf python3-netaddr python3-libselinux` * Go to our ansible repository, open `hosts`, to edit the `hosts` file for entries of `lasXXX.las.kit.edu` * Go to our ansible repository, open `host_vars`, to create a file ``lasXXX.las.kit.edu`` with similar contents as others * Open a new terminal, Go to obelix, become root, by `ssh nie@obelix.las.kit.edu` and `sudo -s` -- GitLab