kelseyhightower / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way. No scripts.
Apache License 2.0
40.41k stars 13.85k forks source link

fixed a script issue in document 3-compute-resources #791

Open Vishwanath2001 opened 2 months ago

Vishwanath2001 commented 2 months ago

It looks like there was a mistake in the document "docs/03-compute-resources.md"

the command was ssh -n root@${IP} hostnamectl hostname ${HOST}

it should be ssh -n root@${IP} hostnamectl set-hostname ${HOST}

as set-hostname is the correct flag.

and running with old command will give following error

Unknown operation hostname