Hello guys, I’m currently trying to use this value for user_data:
#cloud-config runcmd: - curl https://mysupercooldomain.tld/do.sh | sh
The content of do.sh is:
#!/bin/bash echo "doing" > status dpkg --add-architecture i386 apt-get -y update apt-get -y install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates tmux lib32gcc1 libstdc++6 libstdc++6:i386 adduser --disabled-password --gecos "Game Server" gameserver su - gameserver wget https://mysupercooldomain.tld/gameserver chmod +x gameserver ./gameserver install
After creating a Droplet, the Droplet does not contain the data it should contain.
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!