1 Content-Type: multipart/mixed; boundary="===============9156907225490855809=="
4 --===============9156907225490855809==
5 Content-Type: text/plain; charset="us-ascii"
7 Content-Transfer-Encoding: 7bit
8 Content-Disposition: attachment; filename
13 cloud_init_modules: [migrator, bootcmd, write-files, update_etc_hosts, rsyslog, users-groups, ssh]
14 preserve_hostname: true
15 manage-resolv-conf: false
17 - name: "{{users.admin_user_name}}"
18 sudo: ['ALL=(ALL) NOPASSWD:ALL']
20 - "{{ lookup('file', home_dir + '/.ssh/id_rsa.pub') }}"
21 passwd: {{users.admin_user_password}}
24 --===============9156907225490855809==
25 Content-Type: text/cloud-boothook; charset="us-ascii"
27 Content-Transfer-Encoding: 7bit
28 Content-Disposition: attachment; filename="boothook.sh"
31 mkdir -p /etc/os-net-config/
32 echo '{{lookup('file', '/tmp/'+ironic_node_details.name+'_config.yaml')}}' > /etc/os-net-config/config.yaml
33 /usr/bin/os-net-config
34 --===============9156907225490855809==--