[elbe-devel] Add ssh key to initvm.

Köry Maincent kory.maincent at bootlin.com
Thu May 28 15:02:56 CEST 2020


Hello John,

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.

I will check how I can make a patch to fix this.

> 
> You can specify the XML for creating the initvm. (By default it is:
> elbepack/init/default-init.xml). In that XML you could list a custom
> package that installs the needed SSH keys.
> 
> John Ogness
> 

Regards,

-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



More information about the elbe-devel mailing list