#cloud-config
write_files:
  - path: "/etc/resolv.conf"
    permissions: "0644"
    owner: "root"
    content: |
    {% for l in cloud_config.stdout_lines %}
      {{ l }}
    {% endfor %}
    #