Changes

From Amahi Wiki
Jump to: navigation, search
# dnsmasq_dns_servers = </pre>
: and add <code>8.8.8.8,8.8.4.4</code> after equal (=), then reboot as I could not determine what service to restart.
 
===Build Images===
How to build OpenStack image using Proxmox VE
* 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</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/###</code> (number of VM)
*#* Rename <code>.qcow2</code> image to <code>.backup</code>
*#* <code>mv original_image.qcow2 original_image.qcow2_backup</code>
*#* <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
 
 
'''REF:''' [http://www.jamescoyle.net/how-to/323-reclaim-disk-space-from-a-sparse-image-file-qcow2-vmdk Reclaim disk space from .qcow2 or .vmdk image]
===Notes===
12,424

edits