Commit fcda8cbf authored by yuancun.nie's avatar yuancun.nie

Update README.md

parent a848287d
......@@ -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`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment