From ba02f727bf341f9459cfea02909ec8aca2de72e5 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Sat, 9 Feb 2013 01:26:00 +0100 Subject: [PATCH] add information how to import an libvirt VM Signed-off-by: Martin Zobel-Helas --- input/howto/install-ganeti.creole | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 + +}}} -- 2.20.1