Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering KVM Virtualization - Second Edition

You're reading from  Mastering KVM Virtualization - Second Edition

Product type Book
Published in Oct 2020
Publisher Packt
ISBN-13 9781838828714
Pages 686 pages
Edition 2nd Edition
Languages
Authors (4):
Vedran Dakic Vedran Dakic
Profile icon Vedran Dakic
Humble Devassy Chirammal Humble Devassy Chirammal
Profile icon Humble Devassy Chirammal
Prasad Mukhedkar Prasad Mukhedkar
Profile icon Prasad Mukhedkar
Anil Vettathu Anil Vettathu
Profile icon Anil Vettathu
View More author details

Table of Contents (22) Chapters

Preface 1. Section 1: KVM Virtualization Basics
2. Chapter 1: Understanding Linux Virtualization 3. Chapter 2: KVM as a Virtualization Solution 4. Section 2: libvirt and ovirt for Virtual Machine Management
5. Chapter 3: Installing KVM Hypervisor, libvirt, and oVirt 6. Chapter 4: Libvirt Networking 7. Chapter 5: Libvirt Storage 8. Chapter 6: Virtual Display Devices and Protocols 9. Chapter 7: Virtual Machines: Installation, Configuration, and Life Cycle Management 10. Chapter 8: Creating and Modifying VM Disks, Templates, and Snapshots 11. Section 3: Automation, Customization, and Orchestration for KVM VMs
12. Chapter 9: Customizing a Virtual Machine with cloud-init 13. Chapter 10: Automated Windows Guest Deployment and Customization 14. Chapter 11: Ansible and Scripting for Orchestration and Automation 15. Section 4: Scalability, Monitoring, Performance Tuning, and Troubleshooting
16. Chapter 12: Scaling Out KVM with OpenStack 17. Chapter 13: Scaling out KVM with AWS 18. Chapter 14: Monitoring the KVM Virtualization Platform 19. Chapter 15: Performance Tuning and Optimization for KVM VMs 20. Chapter 16: Troubleshooting Guidelines for the KVM Platform 21. Other Books You May Enjoy

Installing and configuring cloud-init at boot time

The main thing that we are covering in this chapter is how to get cloud-init to run, and how to get all of its parts in the right place when the machine is being deployed, but this only scratches the surface of how cloud-init actually works. What you need to understand is that cloud-init runs as a service, configures the system, and follows what we told it to do in a certain way. After the system has booted, we can connect to it and see what was done, how, and analyze the logs. This could seem contrary to the idea of completely automatic deployment but it is there for a reason – whatever we do, there is always the possibility that we will need to debug the system or do some post-installation tasks that can also be automated.

Using cloud-init is not specifically confined to just debugging. After the system has booted, there is a large amount of data created by the system about how the boot was done, what actual cloud configuration...

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 $15.99/month. Cancel anytime}