]> git.proxmox.com Git - qemu-server.git/commit
cloud-init: nocloud image support
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 27 Feb 2018 09:45:08 +0000 (10:45 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 7 Mar 2018 08:11:31 +0000 (09:11 +0100)
commit41cd94a01ec3bc57c14dd985535ada4dac840ab3
tree92f906f2dbc2dce0565dd9507e93e5a1d92237f0
parent931432bd2d31a3203b309235768aa626bc1f482d
cloud-init: nocloud image support

With configdrives we end up with the /etc/network/interfaces
file containing the interface names we use on the disk, ie.
eth0/eth1/..., which doesn't work on systems which do not
use this name.

With the 'nocloud' image type we can provide a
network-config in yaml which matches mac addresses. Ideally
we'd use version 2, but debian stretch ships with a too old
cloud-init for this, so for now we're writing version 1.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
PVE/QemuServer.pm
PVE/QemuServer/Cloudinit.pm