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:
Marcus Sorensen 2012-09-20 11:06:53 -07:00 committed by Edison Su
parent 29de80da4a
commit 38457ee8ac
1 changed files with 1 additions and 0 deletions

View File

@ -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