Re: injecting a key into the xen images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 28 Mar 2014, Nux! wrote:
> On 28.03.2014 12:40, Karanbir Singh wrote:
> > hi,
> > 
> > As a part of the test suite for xen that I've started off - I needed a
> > way to inject a ssh key into the image [1]; so have come up with this 
> > :
> > https://github.com/CentOS/sig-virt-t_xen/blob/master/scripts/inject_ssh.sh
> > ; its not pretty and it wont handle lots of use cases, but it does 
> > what
> > is needed at hand.
> > 
> > Comments ?
> 
> I would have first looked at libguestfs suite, virt-edit maybe. It has 
> tools specifically designed to interact with VM filesystems.

libguestfs just uses libvirt or QEMU under the hood, depending on the
version of the library.
I think that spawning QEMU directly is simpler.
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt




[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux