Load the image into Glance glance image-create -name ubuntu-1604 -disk-format qcow2 -file ubuntu-16.04.qcow2 -container-format bare -progress 7. Load image on OpenstackĬopy the “ubuntu-16.04.img” file to Openstack and then convert the image from raw to qcow2 qemu-img convert -f raw ubuntu-16.04.img -O qcow2 ubuntu-16.04.qcow2 VBoxManage clonehd -format raw "C:\Users\ \VirtualBox VMs\ \ubuntu-16.04.vdi" "C:\Downloads\ubuntu-16.04.img" 6. If you are using Windows open Command Prompts (CMD) cd C:\Program Files\Oracle\VirtualBox sudo sh /media/VBOXADDITIONS_ /n uninstall 5. If you get a pop-up about auto-start procedures just cancel it. If you installed VirtualBox Guest Additions on Ubuntu you can uninstall it by mounting the virtual disk again. The public key will be placed in the default user account for the image # Install Cloud initĮnsure image writes boot log to console so you can access within OpenStack sudo vi /boot/grub/grub.cfg ![]() The cloud-init script starts on instance boot and will search for a metadata provider to fetch a public key from. ![]() Install the tools and programs you need on Ubuntu, in my case I will install SSH, Apache, Perl and Python modules # Update Ubuntu OS with latest packagesĬpanm -i Expect 3. Install and configure Openstack required tools If you are not familiar with installing Ubuntu on VirtualBox this is a terrific user guide: 2. Customize your Ubuntu This example installs an Ubuntu 16.04 (Xenial Xerus) image using Oracle VirtualBox 1.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |