Recognition

No awards yet.

Posts

2 Posts
  • Published Question

    User data not executing node script when droplet is created over the api

    I am creating a droplet from a snapshot. The droplet contains a folder called youtube-uploader in the root directory. My cloud config looks like this: ``` cloud-config runcmd: - touch test.txt - node /root/youtube...
    Accepted Answer: Greetings! Most likely the script is running, but not doing what you expect it to. You may be able to find helpful information in one of these log files: /var/log/cloud-init.log /var/log/cloud-init-output.log Jarland
    1 By fardeemmunir API Ubuntu 18.04
  • Published Question

    User data not running when creating a droplet over the api

    I am running the following code through a node js script `` axios('https://api.digitalocean.com/v2/droplets', { method: 'POST', headers: headers_variable, 'Content-Type': 'application/json', data: { "name...
    Accepted Answer: Greetings! I just tested this in the user-data via cloud panel: ``` cloud-config runcmd: - touch test.txt ``` Confirmed that the script is at least working there: root@ubuntu-s-1vcpu-1gb-nyc3-01:~# stat /test.txt ...
    1 By fardeemmunir API Ubuntu