Open altineller opened 4 years ago
Hello @altineller if I understand the issue correctly you want to use libnss-mdns
package.
I am also very new to cloud init
myself but if I understand the documentation correctly you can add it in the package
section.
You need to add the package
section in the file which you import via --userdata|-u
You file should look similar to the following:
#cloud-config
...
packages:
- libnss-mdns
...
Maybe this will answer your question
Hello, After Install, I would like to run:
sudo apt install libnss-mdns
Can I accomplish it by putting it on where:
`runcmd:
'systemctl restart avahi-daemon'
'ifup wlan0'
'mkdir /data && chown 1000:1000 /data'
[ systemctl, stop, docker ]
[ systemctl, daemon-reload ]
[ systemctl, enable, docker-tcp.socket ]
[ systemctl, start, --no-block, docker-tcp.socket ]
[ systemctl, start, --no-block, docker ]
` after the ifup wlan0?
Best regards, C.