New Question

Foreman KVM provisioning with cloudbase-init

asked 2017-05-16 14:38:41 +0300

charlvv gravatar image

I am using Foreman to provision Server 2016 VMs on KVM. Foreman has support for cloud-init - by generating an iso which gets attached to the VM. The iso contains only 2 files: user-data and meta-data. With my current config meta-data is empty and user-data looks like:

hostname: vm01
manage_etc_hosts: true

  url: ......

This differs from

Question is can I configure cloudbase-init to work with this layout?

edit retag flag offensive close merge delete


At a first glance, we just need to add support for "phone_home" and a NoCloud metadata service for fetching the userdata, the rest is there. Would you be interested in testing it as soon as we have a patch?

alexpilotti gravatar imagealexpilotti ( 2017-05-16 15:16:47 +0300 )edit

1 answer

Sort by » oldest newest most voted

answered 2017-05-16 14:51:14 +0300

avladu gravatar image

updated 2017-05-16 14:57:41 +0300


Can you put online such an ISO, so that we can check if the format is compatible with one of cloudbase-init meta-data resources?

From what I saw in the cloud-init docs, you are leveraging the NoCloud metadata type, which is not yet implemented in cloudbase-init:

Thank you,
Adrian Vladu

edit flag offensive delete link more


avladu gravatar imageavladu ( 2017-05-22 18:36:32 +0300 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools


Asked: 2017-05-16 14:38:41 +0300

Seen: 22 times

Last updated: May 16