mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Bug 8303 - Cant add xen hosts, due to ssh key permission setup failure
status 8303: resloved fixed
This commit is contained in:
parent
6ed8b20a76
commit
b6fc6341fd
@ -40,7 +40,8 @@ inject_into_iso() {
|
||||
copy_priv_key() {
|
||||
local newprivkey=$1
|
||||
diff -q $newprivkey $(dirname $0)/id_rsa.cloud && return 0
|
||||
sudo cp -fb $newprivkey $(dirname $0)/id_rsa.cloud
|
||||
sudo cp -fb $newprivkey $(dirname $0)/id_rsa.cloud
|
||||
sudo chmod 644 $(dirname $0)/id_rsa.cloud
|
||||
return $?
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user