## This file defines the datasource_list to include only NoCloud.
## And then configures the NoCloud datasource to include its necessary
## bits of information (user-data, meta-data). If user-data and meta-data
## were not provided here, then NoCloud would go looking in other
## places (/var/lib/cloud/seed/nocloud).
datasource_list: [NoCloud]
datasource:
NoCloud:
# default seedfrom is None
# if found, then it should contain a url with:
# <url>/user-data and <url>/meta-data
# seedfrom: http://my.example.com/i-abcde
seedfrom: None
# fs_label: the label on filesystems to be searched for NoCloud source
fs_label: cidata
# these are optional, but allow you to basically provide a datasource
# right here
user-data: |
# This is the user-data verbatum
meta-data:
instance-id: i-87018aed
local-hostname: myhost.internal
## We can put other stuff here too:
packages: [cowsay]
runcmd:
- [sh, -c, "echo 'Hi Mom, how are you?' | tee /run/greet.txt"]