00c41b73d871605c4f612abdb5bba05200538f35
[osm/devops.git] / descriptor-packages / vnfd / dns_aws_vnfd / src / cloud_init / cloud_init.cfg
1 #cloud-config
2
3 password: c0mpl3xp4ssw0rd
4 chpasswd: { expire: False }
5 ssh_pwauth: True
6
7 write_files:
8 -   content: |
9         # My new helloworld file
10         sudo apt update
11         sudo apt install dnsmasq -y
12         sudo bash -c 'cat << EOF > /etc/dnsmasq.conf
13         strict-order
14         interface=eth0
15         no-dhcp-interface=eth0
16         EOF'
17     owner: root:root
18     permissions: '0774'
19     path: /tmp/configure_dns
20
21 runcmd:
22  - /tmp/configure_dns
23