cloud_config | R Documentation |
This takes a template stored in inst/cloudconfig
and inserts
ssh_keys into the first user.
cloud_config(name, ssh_keys = NULL)
name |
Name of template |
ssh_keys |
(character) A character vector of key names, an integer
vector of key ids, or NULL, to use all keys in your account. Accounts
with the corresponding private key will be able to log in to the droplet.
See |
A string. (Can't return yaml because the yaml
package
strips off comments, and the first comment is extremely important.)
## Not run:
cat(cloud_config("ubuntu"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.