diff --git a/README.md b/README.md index 984ffd274792a2e884b78d382ea06ce92aa94bb6..e4579ce3a38f44031bc4af3c17c4dca2f85839a3 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,9 @@ Be aware that the development branches here are not save and the owner might for ## Bootstraping * Enable SSH on the new host (`lasXXX$ sudo systemctl start sshd && sudo systemctl enable sshd`) * Add your SSH-key to the host `obelix# ssh-copy-id lasXXX.las.kit.edu` -* Install ansible dependencies: `lasXXX$ sudo dnf install ansible git python3-dnf libselinux-python python3-netaddr` + * Probably 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 libselinux-python python3-netaddr` * Check the `hosts` file for entries of `lasXXX.las.kit.edu` * Run `ansible-playbook -K --vault-id @prompt sites.yml` probably with the option `-l lasXXX.las.kit.edu`