Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenStack Essentials

You're reading from   OpenStack Essentials Untangle the complexity of OpenStack clouds through this practical tutorial

Arrow left icon
Product type Paperback
Published in Aug 2016
Publisher Packt
ISBN-13 9781786462664
Length 182 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
Dan Radez Dan Radez
Author Profile Icon Dan Radez
Dan Radez
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. RDO Installation FREE CHAPTER 2. Identity Management 3. Image Management 4. Network Management 5. Instance Management 6. Block Storage 7. Object Storage 8. Telemetry 9. Orchestration 10. Docker 11. Scaling Horizontally 12. Monitoring 13. Troubleshooting Index

Building an image

Now that we've looked at getting a disk image into Glance, let's investigate how a cloud image is built. A cloud image is just a sealed disk image with cloud-init included. A sealed disk image is a file that has an operating system installed in it and has had all the host-specific items removed from it. Cloud-init is a post-boot process that checks the metadata service of OpenStack and asks for post-boot commands that should be run on the launched instance. We'll see cloud-init's use cases in Chapter 5, Instance Management, and Chapter 9, Orchestration; for now, we'll just make sure it's included in the cloud image we build. To build the image, we'll use virt-install. There are quite a few other options. If you're familiar with a different disk-image-building tool, use that if you like. This is just one example of how to build one of these images. Go ahead and make sure virt-install is installed. The following command accomplishes...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime