Comments (5)
Ho @bytepoet
You're right SFO1 supports metadata. Here is an introduction to droplet metadata and an introduction to Cloud-config the scripting.
Hope this answer your question :)
from client.
I'm more concerned about properly escaping my content. Even after spinning up a VM, i am not able to see any user data from the CLI using curl http://169.254.169.254/metadata/v1/user-data
from client.
I understand you mean now :) Sorry for that. We need to improved the way we support user_data
parameter during droplet creation. I reopen this issue and thanks for reporting this!
from client.
Enhancement request made in error. userData works as intended with simple carriage returns.
Example below for those of you looking like i was:
$userData ="#!/bin/bash\n wget http://mysite.com/install.sh\n chmod 777 installer.sh\n./install.sh"
$droplet->create("test", "nyc3", "512mb", "ubuntu-14-04-x64", false, false, false, array(), $userData );
from client.
@bytepoet Gald to head it works as expected :) Can you maybe make a PR about this to the doc ?
from client.
Related Issues (20)
- Add support for monitoring API HOT 4
- `Entity\Droplet::tags` incorrectly type-hinted as `Tag[]` HOT 2
- Api\Image::getById() accepts only int, should accept int|string HOT 2
- Ubuntu 20.04 composer install fail HOT 1
- Meta.php Entity class, what is it for? HOT 1
- PHP 7.4 requirement HOT 5
- Add support for Project Resources API HOT 2
- dropletClient->getAll return empty array HOT 2
- Project Resources API HOT 1
- "Floating IPs" have been renamed to "Reserved IPs" HOT 3
- Sizes API defaults to 20 per page and getAll doesn't page HOT 2
- Calling update() may result in data loss HOT 2
- Droplet entity missing VPC UUID property HOT 1
- Kubernetes support? HOT 2
- Uptime Checks HOT 2
- package laravel not found HOT 1
- Fetch IP address of Droplet HOT 1
- Does this library capture the HTTP response code and make that available? HOT 2
- Please remove "final" keyword from ExceptionThrower to allow extending this class. HOT 2
- No confirmation that droplet was successfully removed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client.