mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2026-06-21 00:07:16 +03:00
69 lines
1.6 KiB
Markdown
69 lines
1.6 KiB
Markdown
TINY-CLOUD.CONF(5)
|
|
|
|
# NAME
|
|
|
|
tiny-cloud.conf - configuration for tiny-cloud
|
|
|
|
# DESCRIPTION
|
|
|
|
*tiny-cloud.conf* configures *tiny-cloud*(8). The file is sourced by the
|
|
tiny-cloud shell code during startup and therefore uses shell-style variable
|
|
assignments.
|
|
|
|
The default system configuration file is _/etc/tiny-cloud.conf_.
|
|
|
|
# FORMAT
|
|
|
|
The file consists of shell variable assignments of the form:
|
|
|
|
NAME=value
|
|
|
|
Blank lines and shell comments are ignored.
|
|
|
|
# VARIABLES
|
|
|
|
*CLOUD*=<provider>
|
|
Select the cloud provider. The default is *auto*, which enables provider
|
|
autodetection.
|
|
|
|
Supported values currently include *aws*, *azure*, *gcp*, *hetzner*,
|
|
*incus*, *nocloud*, *oci*, and *scaleway*.
|
|
|
|
*CLOUD_USER*=<user>
|
|
Default user account for instance SSH keys and default-user setup. The default
|
|
is *alpine*.
|
|
|
|
*IMDS_TOKEN_TTL*=<seconds>
|
|
Metadata token lifetime in seconds for AWS metadata access. This is only used
|
|
by the AWS provider. The default is *5*.
|
|
|
|
*TINY_CLOUD_VAR*=<path>
|
|
State directory used by tiny-cloud. The default is _/var/lib/cloud_.
|
|
|
|
*TINY_CLOUD_LOGS*=<path>
|
|
Log directory used by tiny-cloud. The default is _/var/log_.
|
|
|
|
*SKIP_INIT_ACTIONS*=<action> ...
|
|
Whitespace-separated list of init actions to skip during phase execution.
|
|
|
|
Common action names include *expand_root*, *set_hostname*, *set_ssh_keys*,
|
|
*save_userdata*, *decompress_userdata*, and *run_userdata*.
|
|
|
|
# EXAMPLES
|
|
|
|
Force the AWS provider:
|
|
|
|
CLOUD=aws
|
|
|
|
Use a different default login account:
|
|
|
|
CLOUD_USER=ec2-user
|
|
|
|
Skip hostname and SSH key setup:
|
|
|
|
SKIP_INIT_ACTIONS="set_hostname set_ssh_keys"
|
|
|
|
# SEE ALSO
|
|
|
|
*tiny-cloud*(8), *imds*(1)
|