Customizations¶
SSH Key¶
Set the USER_SSHPUBKEY
variable to the path of a SSH public key you want to have added to the vagrant
user inside the VMs.
Example: USER_SSHPUBKEY=/home/$USER/.ssh/id_rsa.pub
Executing Custom Scripts¶
To execute a custom script after a VM / server has been installed, set the variable USER_POST_INSTALL_SCRIPT_PATH
to the path of the script.
Example: USER_POST_INSTALL_SCRIPT_PATH=./examples/user_post_install_script.sh
The script will be copied from the host inside each VM / server.
Hint
When the script is executed on the master, kubectl
should be accessible but the Nodes might not exist yet.
Example Output:
1 2 3 4 5 6 |
|