Skip to content
Discussion options

You must be logged in to vote

But can I add them as user-data? My user data format is like this, do I add the datasource under #cloud-config and that's it?:

#cloud-config
hostname: example
manage_etc_hosts: true
system_info:
  default_user:
    name: user

No, it won't work

cloud-init relies on datasource_list: [ CloudStack, xxx, xxx] to get the metadata and user-data from CloudStack VR (acts as the data server). So you must configure CloudStack in the datasource_list before cloud-init starts.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tdtmusic2
Comment options

@weizhouapache
Comment options

Answer selected by DaanHoogland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants