Description Usage Arguments Functions
Functions to generate the cloud-config file required to initialize a new cloud-r server.
1 2 3 4 5 6 7 8 9 10 11 | cc_bootcmd(boot_lines = NULL)
cc_users(ssh_path = NULL)
cc_packages(pkgs = NULL)
cc_write_files(write_path = NULL, content = NULL)
cc_runcmd(cmd_lines = NULL)
cc_power_state(reboot = TRUE)
|
boot_lines |
character vector of commands to run at boot |
ssh_path |
path to desired ssh public key (for each user) |
pkgs |
apt-get packages to install |
write_path |
path on the remote server to write new file |
content |
contents of new file to write on remote server |
cmd_lines |
character vector of commands to run after remote server up and running |
reboot |
boolean. TRUE (default) to reboot cloud server after init |
cc_bootcmd
: bootcmd
cc_users
: user block
cc_packages
: apt-get packages
cc_write_files
: write files on server
cc_runcmd
: run commands
cc_power_state
: used for reboot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.