[elbe-devel] Add ssh key to initvm.

John Ogness john.ogness at linutronix.de
Thu May 28 15:13:17 CEST 2020


On 2020-05-28, Köry Maincent <kory.maincent at bootlin.com> wrote:
> On 28/05/2020 11:25, John Ogness wrote:
>> On 2020-05-28, Köry Maincent <kory.maincent at bootlin.com> wrote:
>>> Is there a way to copy a ssh key to initvm and is it possible from the
>>> xml file?  Needed for the git repository of my packages built with
>>> pbuilder.
>>
>> One possible solution...
>
> Yes could be a solution, however, it is easier to use virt-copy-in. In
> both case I still need to login to the initvm to enter my passphrase.

If your ssh-key package is in the initvm's XML file, there is no need to
login. The keys will already be in place after the initvm is generated.

John Ogness



More information about the elbe-devel mailing list