Love that userdata is finally available at DO! Awesome! but it looks like Cloud Init is not fully configured in Ubuntu 14.04 LTS. Check out /etc/cloud/cloud.cfg.disabled…
#! /bin/sh
curl -k "https://shim.userify.com/installer.sh" | api_id="i3WWxWoVkd4mcNhCenGbuZ" api_key="Ra3oNtcEb2TuMEQJeT65gQrqjghdo93WDyyJQSqxknPJn3KTno" /bin/sh
#cloud-config
runcmd:
- curl -k "https://shim.userify.com/installer.sh" | api_id="i3WWxWoVkd4mcNhCenGbuZ" api_key="Ra3oNtcEb2TuMEQJeT65gQrqjghdo93WDyyJQSqxknPJn3KTno" /bin/sh
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi!
Glad you’ve found our new metadata service! We’re still finalizing what we want our default configuration to look like. Once that’s done, we’ll be providing documentation. For now though, you should be able to get runcmd working using a cloud-config file like:
#cloud-config
cloud_final_modules:
- runcmd
- scripts-user
runcmd:
- touch /root/testfile
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.