[pve-devel] [PATCH v5 0/3] RFC: cloud-init update

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Jun 26 12:06:31 CEST 2015


Changes since [PATCH v4]:

Instead of generating a separate ISO image file we now generate the
ISO into a qcow2 device which is storage-managed.
This does not only mean we don't need to rsync the file for
live-migrations, but we can also use the live-snapshot feature out of
the box.

It also allowed me to remove the code to generate the commandline
parameters by simply making foreach_drive include the cloud-init drive
(if it exists).
In order to do that I had to add a $vmid parameter to it. Since it
already takes the VM's config as parameter this seemed like a sane
thing to do. I grepped the rest of the repositories for code affected
by this change. It seemed to be all isolated in qemu-server.

Please test and comment.

Alexandre Derumier (1):
  implement cloudinit v2

Wolfgang Bumiller (2):
  cloud-init changes
  cloudinit: use qcow2 for future snapshot support

 PVE/API2/Qemu.pm         |  16 +--
 PVE/QemuMigrate.pm       |   8 +-
 PVE/QemuServer.pm        | 364 +++++++++++++++++++++++++++++++++++++++++++----
 PVE/VZDump/QemuServer.pm |   2 +-
 control.in               |   2 +-
 5 files changed, 353 insertions(+), 39 deletions(-)

-- 
2.1.4





More information about the pve-devel mailing list