mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-131: KVM fails to copy authorized_keys to system vm now that iso is not
mounted Signed-off-by: Edison Su <sudison@gmail.com>
This commit is contained in:
parent
29de80da4a
commit
38457ee8ac
|
|
@ -115,6 +115,7 @@ get_boot_params() {
|
|||
cp -f $EXTRA_MOUNT/authorized_keys /var/cache/cloud/authorized_keys
|
||||
privkey=/var/cache/cloud/authorized_keys
|
||||
umount $EXTRA_MOUNT
|
||||
cp -f $privkey /root/.ssh/ && chmod go-rwx /root/.ssh/authorized_keys
|
||||
;;
|
||||
vmware)
|
||||
vmtoolsd --cmd 'machine.id.get' > /var/cache/cloud/cmdline
|
||||
|
|
|
|||
Loading…
Reference in New Issue