cloud_config: Cloud-Config YAML File

Description Usage Arguments Functions

Description

Functions to generate the cloud-config file required to initialize a new cloud-r server.

Usage

 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)

Arguments

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

Functions


bfatemi/spawnr documentation built on May 12, 2019, 7:26 p.m.