Changes

From Amahi Wiki
Jump to: navigation, search
* Log into Proxmox VE web UI
* Create a VM or clone an existing one
*# * If creating a VM, install the OS*# * If using a clone, start the VM
* Open a console window for the VM
*# * Log in and as root do the following*#** <code>dd if=/dev/zero of=/mytempfile bs=1M</code> (zero out any unused space)*#** <code>rm -f /mytempfile</code>*# * Shutdown VM*# * Log into Proxmox VE via SSH and execute the following from command line*#** Navigate to <code>/var/lib/vz/images/###</code> (number of VM)*#** <code>mv original_image.qcow2 original_image.qcow2_backup</code> (rename original image)*#** <code>qemu-img convert -O qcow2 original_image.qcow2_backup original_image.qcow2</code>*#** Copy new <code>.qcow2</code> image to a safe location for uploading into OpenStack*#** Remove <code>.backup</code> file*#** Delete the VM from Proxmox VE web UI
* Use WINScp or similar program to copy the <code>.qcow2</code> image to client machine
* Upload into OpenStack via the web UI
12,424

edits