FreeBSD droplets lack user-data support?
I recently spun up the Digital Ocean FreeBSD 10.1 image, but sadly it appears that it doesn’t not respect the user-data provided unlike the Linux images.
For example the following simple user data runs fine on AWS, but on Digital Ocean fails to run:
# curl http://169.254.169.254/metadata/v1/user-data #!/bin/tcsh touch /tmp/user-data-did-run
Can see it didn’t run post-launch with:
# ls -l /tmp/user-data-did-run ls: /tmp/user-data-did-run: No such file or directory
An issue posted on the upstream source code for bsd-cloudinit (https://github.com/pellaeon/bsd-cloudinit/issues/5) suggests that support doesn’t exist for user data with bsd cloud init yet.
Am I correct in this conclusion, or should I be passing user data to FreeBSD droplets in a different format? Additionally, if user data support is lacking, is there any plan for Digital Ocean to add it?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×