The following keys, when placed in the customer_metadata section of the VM definition JSON will effect the specified behaviour:
smartos key | corresponds to cloudinit key | effect |
---|---|---|
hostname |
local-hostname |
|
root_authorized_keys |
public-keys |
copies to /root/.ssh and default user ~/.ssh (e.g., ubuntu) |
user-script |
user-script |
Executed each boot |
user-data |
legacy-user-data |
|
cloud-init:user-data |
user-data |
Evaluated by cloud-init once at VM creation only |
iptables_disable |
iptables_disable |
? |