New Question
0

Foreman KVM provisioning with cloudbase-init

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

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:

#cloud-config
hostname: vm01
fqdn: vm01.example.com
manage_etc_hosts: true

phone_home:
  url: ......

This differs from https://github.com/ader1990/configs/b...

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

edit retag flag offensive close merge delete

Comments

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 +0200 )edit

1 answer

Sort by » oldest newest most voted
0

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

avladu gravatar image

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

Hello,

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: https://cloudinit.readthedocs.io/en/l...

Thank you,
Adrian Vladu

edit flag offensive delete link more

Comments

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

Your Answer

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

Add Answer

Question Tools

Stats

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

Seen: 98 times

Last updated: May 16