[Pkg-libvirt-commits] [libguestfs] 48/233: builder: Add documentation for how to import images into OpenStack.
Hilko Bengen
bengen at moszumanska.debian.org
Wed Feb 19 21:10:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit 7c431d703005f7e08567be82caf035feca9b931f
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Tue Jan 14 17:30:40 2014 +0000
builder: Add documentation for how to import images into OpenStack.
---
builder/virt-builder.pod | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/builder/virt-builder.pod b/builder/virt-builder.pod
index 6130036..9cbfbab 100644
--- a/builder/virt-builder.pod
+++ b/builder/virt-builder.pod
@@ -1032,13 +1032,30 @@ tools probably work differently as well.
=back
-=begin comment
-
=head3 Importing into OpenStack
-XXX
+Import the image into Glance (the OpenStack image store) by doing:
+
+ glance image-create --name fedora-20-image --file fedora-20.img \
+ --disk-format raw --container-format bare \
+ --is-public True
+
+The I<--file> parameter is the virt-builder-generated disk image. It
+should match virt-builder's I<--output> option. The I<--disk-format>
+parameter should match virt-builder's I<--format> option (or C<raw> if
+you didn't use that option). The I<--container-format> should always
+be C<bare> since virt-builder doesn't put images into containers.
+
+You can use the S<C<glance image-show I<fedora-20-image>>> command to
+display the properties of the image.
+
+To boot up an instance of your image on a Nova compute node, do:
+
+ nova boot fedora-20-server --image fedora-20-image \
+ --flavor m1.medium
-=end comment
+Use S<C<nova flavor-list>> to list possible machine flavors. Use
+S<C<nova list>> to list running instances.
=head3 Booting directly using qemu or KVM
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list