From: Martin Zobel-Helas Date: Sat, 9 Feb 2013 00:26:00 +0000 (+0100) Subject: add information how to import an libvirt VM X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;ds=sidebyside;h=ba02f727bf341f9459cfea02909ec8aca2de72e5;p=mirror%2Fdsa-wiki.git add information how to import an libvirt VM Signed-off-by: Martin Zobel-Helas --- diff --git a/input/howto/install-ganeti.creole b/input/howto/install-ganeti.creole index 15659f9..4ed242a 100644 --- a/input/howto/install-ganeti.creole +++ b/input/howto/install-ganeti.creole @@ -330,3 +330,17 @@ Please note that the hook scripts are run only at instance instantiation. When adding interfaces to an instance, the guest opearting system must be updated manually. + +* If you are importing an instance from libvirt with LVM setup, you can adopt LVs: + +{{{ + + gnt-instance add -t plain --os-type debootstrap+dsa-wheezy \ + --disk 0:adopt=lully-boot \ + --disk 1:adopt=lully-root \ + --disk 2:adopt=lully-swap \ + --disk 3:adopt=lully-log \ + --hypervisor-parameters kvm:initrd_path=,kernel_path= \ + --net 0:ip=82.195.75.99 -n clementi.debian.org lully.debian.org + +}}}