diff --git a/cloudinit/config/cc_phone_home.py b/cloudinit/config/cc_phone_home.py index cc1fe53e8e6..a0e1da78099 100644 --- a/cloudinit/config/cc_phone_home.py +++ b/cloudinit/config/cc_phone_home.py @@ -24,6 +24,19 @@ - ``hostname`` - ``fdqn`` +Data is sent as ``x-www-form-urlencoded`` arguments. + +**Example HTTP POST**:: + + POST / HTTP/1.1 + Content-Length: 1337 + User-Agent: Cloud-Init/21.4 + Accept-Encoding: gzip, deflate + Accept: */* + Content-Type: application/x-www-form-urlencoded + + pub_key_dsa=dsa_contents&pub_key_rsa=rsa_contents&pub_key_ecdsa=ecdsa_contents&pub_key_ed25519=ed25519_contents&instance_id=i-87018aed&hostname=myhost&fqdn=myhost.internal + **Internal name:** ``cc_phone_home`` **Module frequency:** per instance