After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 64 of 317

Administering OpenStack Compute 54 How it works... Creating custom Linux images is more complex due to the greater flexibility we have to cater to in our OpenStack Compute environment. The steps are outlined as follows: 1. Create the disk image using kvm-img. 2. Boot the ISO through kvm, specifying the disk image as the destination hard drive. 3. Ensure you only create a single EXT3 or EXT4 partition (/). 4. Extract the data from the disk image (excluding boot sector) by mounting the image and viewing the image drive geometry to find where the data partition begins. 5. Modify any startup scripts and disk configuration to make it flexible in our cloud environment. 6. Extract the kernel and ramdisk from our installation, so we can upload this separately to OpenStack Compute. 7. Upload the disk image, ramdisk, and kernel for use by clients using the cloud- publish-image tool. 8. Separating out the kernel, ramdisk, and image allows us to keep the base OS installation separate from kernels and ramdisks. This means we can update our running kernels without affecting the underlying OS installation, just as we would in a traditional Linux installation. www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook