class

Hetzner::Instance::CloudInitGenerator

Inherits Reference < Object

Constants

CLOUD_INIT_YAML = {{ read_file("/tmp/tmp.IehdGi/src/src/hetzner/instance/../../../templates/cloud_init.yaml") }}
FIREWALL_SCRIPT = {{ read_file("/tmp/tmp.IehdGi/src/src/hetzner/instance/../../../templates/firewall/firewall.sh") }}
FIREWALL_SERVICE = {{ read_file("/tmp/tmp.IehdGi/src/src/hetzner/instance/../../../templates/firewall/firewall.service") }}
FIREWALL_STATUS = {{ read_file("/tmp/tmp.IehdGi/src/src/hetzner/instance/../../../templates/firewall/firewall_status.sh") }}
SSH_CONFIGURATION_SCRIPT = {{ read_file("/tmp/tmp.IehdGi/src/src/hetzner/instance/../../../templates/ssh/configure_ssh.sh") }}
SSH_LISTEN_CONF = {{ read_file("/tmp/tmp.IehdGi/src/src/hetzner/instance/../../../templates/ssh/listen.conf") }}

Constructors

new(settings : Configuration::Main, ssh_port : Int32, snapshot_os : String, additional_packages : Array(String), additional_pre_k3s_commands : Array(String), additional_post_k3s_commands : Array(String), init_commands : Array(String), grow_root_partition_automatically : Bool)
Source

Instance methods

generate
Source