Skip to content

Commit e211425

Browse files
Automate k8es installation completely
The existing proposal does not support a fully automated installation. It lacks two parameters. With proposal automates the install completely. An even nicer automation could be done with the `expect` programm, but this works fine with me.
1 parent c64b05d commit e211425

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,10 @@ kube-config install
123123
# Last question is whether you want to reboot
124124
# You have to reboot in order to get the cgroups working
125125

126-
# If you want to run this script non-interactively, do this:
127-
# TIMEZONE=Europe/Helsinki SWAP=1 NEW_HOSTNAME=mynewpi REBOOT=0 kube-config install
126+
# If you want to run this script non-interactively, provide the user input beforehand:
127+
# "\n" is the delimiter, "\" the escape character, presssing enter can be simulated with "\n"
128+
# Example:
129+
# /bin/echo -e "rpi-3\nhypriotos\nnodename\nEurope\/Berlin\n\n\ny\nY" | sudo kube-config install
128130
# This script runs in 2-3 mins
129131
```
130132

0 commit comments

Comments
 (0)