We are installing on customer-provided VM's. These VMs have recommended security-hardening changes implemented.
One specific issue is that /tmp and other temp directories are marked as noexec.
This causes the pre-steps commands not to execute and time out.
Relevant log output
+ exit 1: Process exited with status 1
failed: [gsm-3node-fresh-1] [Phase:PreInstall(0/1) script:nfs mount setup and check] exec failed after 1 retries: Exec Bash: /bin/bash /tmp/kubekeyPreInstall-0-script/task.sh err:Failed to exec command: sudo -E /bin/bash -c "/bin/bash /tmp/kubekeyPreInstall-0-script/task.sh"
Additional information
So this is more of a doc question than your defect.
Is there a way to change the temp directories using a configuration option without changing kk?
What is version of KubeKey has the issue?
3.1.1
What is your os environment?
Rocky Linux 9
KubeKey config file
No response
A clear and concise description of what happend.
We are installing on customer-provided VM's. These VMs have recommended security-hardening changes implemented. One specific issue is that /tmp and other temp directories are marked as noexec.
This causes the pre-steps commands not to execute and time out.
Relevant log output
Additional information
So this is more of a doc question than your defect. Is there a way to change the temp directories using a configuration option without changing kk?