refactor: put command onto single line

pull/865/head
Mahyar Mirrashed 2025-04-18 16:25:38 -07:00
parent 6fac812440
commit b045303f0c
1 changed files with 1 additions and 2 deletions

View File

@ -214,8 +214,7 @@ Copy the `hosts` file to each machine and append the contents to `/etc/hosts`:
```bash
while read IP FQDN HOST SUBNET; do
scp hosts root@${HOST}:~/
ssh -n \
root@${HOST} "cat hosts >> /etc/hosts"
ssh -n root@${HOST} "cat hosts >> /etc/hosts"
done < machines.txt
```