GitHub user weizhouapache added a comment to the discussion: Importing a vm from another source - cloud-init issues
> 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. GitHub link: https://github.com/apache/cloudstack/discussions/9846#discussioncomment-11053621 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org