Report this

What is the reason for this report?

FreeBSD droplets lack user-data support?

Posted on April 18, 2015

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?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.