XenAPI will not inject ssh-key if cloud-init

The XenAPI does not inject an ssh-key if an image
has the "cloud_init_installed" property. Cloud-init
handles key injection.

Closes-bug: 1206943
Change-Id: Iab2ce12b742599491e47a8643c5b83c8e273ad3c
This commit is contained in:
Brian Moss 2015-09-03 13:24:20 +10:00
parent d6d10a5fb7
commit 6b2007c34a

View File

@ -303,6 +303,11 @@
image must be configured to download the ssh public key image must be configured to download the ssh public key
from the OpenStack metadata service or config drive, at from the OpenStack metadata service or config drive, at
boot time.</para> boot time.</para>
<para>If both the XenAPI agent and <package>cloud-init</package> are
present in an image, <package>cloud-init</package> handles ssh-key
injection. The system assumes <package>cloud-init</package> is
present when the image has the <literal>cloud_init_installed
</literal> property.</para>
<simplesect> <simplesect>
<title>Use <package>cloud-init</package> to fetch the <title>Use <package>cloud-init</package> to fetch the
public key</title> public key</title>