mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-27 22:05:11 -02:30
Fix ssh config
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ssh
|
||||||
@@ -20,7 +20,7 @@ sudo cp -a ~vagrant/custom.yaml /root/kargo/custom.yaml
|
|||||||
# SSH keys and config
|
# SSH keys and config
|
||||||
sudo rm -rf /root/.ssh
|
sudo rm -rf /root/.ssh
|
||||||
sudo mv ~vagrant/ssh /root/.ssh
|
sudo mv ~vagrant/ssh /root/.ssh
|
||||||
sudo echo -e 'Host 10.210.*\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile=/dev/null' >> /root/.ssh/config
|
sudo echo -e 'Host 10.*\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile=/dev/null' >> /root/.ssh/config
|
||||||
sudo chown -R root: /root/.ssh
|
sudo chown -R root: /root/.ssh
|
||||||
|
|
||||||
# Copy nodes list
|
# Copy nodes list
|
||||||
|
|||||||
Reference in New Issue
Block a user