Project

General

Profile

Feature #2991

Allow for user-data to be injected into cloud-init templates and finish scripts

Added by Sam Kottler about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Most of the popular public clouds and some private clouds have the idea of user-data when provisioning a new machine. The can be some arbitrary stuff that gets passed to the instance via the metadata or a script to do initial setup work, like adding repos that will be needed to run puppet.

Ideally user-data will be shared either globally or assigned with a single account. For example, I might setup my instances different than someone else and might utilize user-data to do that. We could utilize the existing templates table to store the user-data fields and just hide the type of template that user-data will be. This would also let us provide "fake" user-data as snippet for platforms that don't truly support it.


Related issues

Related to Foreman - Feature #3927: Use user-data instead of SSHProvision on Openstack / EC2Closed2013-12-23

History

#1 Updated by Greg Sutcliffe almost 8 years ago

  • Related to Feature #3927: Use user-data instead of SSHProvision on Openstack / EC2 added

Also available in: Atom PDF