bootstrap-vz icon indicating copy to clipboard operation
bootstrap-vz copied to clipboard

Openstack / Glance provider

Open arthurzenika opened this issue 9 years ago • 2 comments

This is a feature request for an openstack / glance provider.

From what I've read in the source could, this would probably be similar to the GSE UploadImage, generate an raw kvm+virtio image and then do glance upload with the correct parameters and credentials.

arthurzenika avatar Jan 21 '15 16:01 arthurzenika

I'm not sure I understand the original request, but wouldn't it be enough to configure the cloud-init plugin for OpenStack ?

Thanks in advance.

olberger avatar Feb 01 '17 15:02 olberger

I've made some tests, and it seems that adding the cloud-init plugin would be enough, provided that the metadata sources are configured correctly. For instance:

plugins:
  root_password:
    password: whatever
  cloud_init:
    username: debian
    metadata_sources: NoCloud, ConfigDrive, OpenStack, Ec2

Note that the 'OpenStack' camel case is important, for it to work (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841315 for some context).

olberger avatar Feb 07 '17 16:02 olberger