61 lines
2.9 KiB
Plaintext
61 lines
2.9 KiB
Plaintext
![]() |
import upcloud_prov
|
||
|
# Settings from servers has priority over defaults ones, if a value is not set in server item, defaults one will be used instead
|
||
|
upcloud_prov.ServerDefaults_upcloud {
|
||
|
time_zone = "UTC"
|
||
|
# UpCloud Zone like = "es-mad1"
|
||
|
zone = "es-mad1"
|
||
|
# Second to wait before check in for running state
|
||
|
running_wait = 10
|
||
|
# Total seconds to wait for running state before timeout
|
||
|
running_timeout = 200
|
||
|
# If not Storage size, Plan Storage size will be used
|
||
|
storages = [
|
||
|
{ name = "root", size = 25, total = 25, type = "ext4" , mount = True, mount_path = "/", parts = [
|
||
|
# { name = "root", size = 25, total = 80, type = "ext4" , mount = True, mount_path = "/", parts = [
|
||
|
# { name = "kluster", size = 55, type = "xfs" , mount = False }
|
||
|
]}
|
||
|
]
|
||
|
# Server OS to use (will be the first storage device). The value should be title or UUID of an either
|
||
|
# public or private template. Set to empty to fully customise the storages.
|
||
|
# Default = "Ubuntu Server 20.04 LTS (Focal Fossa) "
|
||
|
# storage_os = "Debian GNU/Linux 12 (Bookworm)"
|
||
|
storage_os = "01000000-0000-4000-8000-000020070100"
|
||
|
|
||
|
# Add one or more SSH keys to the admin account. Accepted values are SSH public keys or filenames from
|
||
|
# where to read the keys.
|
||
|
# ssh public key to be included in /root/.ssh/authorized_keys
|
||
|
ssh_key_path = "~/.ssh/id_cdci.pub"
|
||
|
ssh_key_name = "cdci"
|
||
|
# utility network, if no value it will not be set and utility IP will not be set
|
||
|
network_utility_ipv4 = True
|
||
|
network_utility_ipv6 = False
|
||
|
# public network, if no value it will not be set and public IP will not be set
|
||
|
network_public_ipv4 = True
|
||
|
network_public_ipv6 = False
|
||
|
# To use private network needs to be created previously to get ID and IP
|
||
|
# If network_private_id contains "CREATE" it will be created with 'name' in 'cidr_block' and updated here
|
||
|
# network_private_id = "CREATE"
|
||
|
# Otherwise created manually and update id
|
||
|
# Example = upctl network create --name "Custom Net" --zone nl-ams1 --ip-network address = 10.0.1.0/24
|
||
|
# IF content is 'CREATE' a network_private_id will be created and create here
|
||
|
# IF ID does not already exist a new network_private_id will be created and replaced here
|
||
|
#network_private_id = "03d64e84-50ab-46a3-bf28-b4d93783aa04"
|
||
|
#network_private_name = "Private_Net"
|
||
|
network_private_id = "03bda413-1305-436d-994a-4be95f1027d4"
|
||
|
network_private_name = "LC Network"
|
||
|
|
||
|
|
||
|
# To use private network, IPs will be set in servers items
|
||
|
priv_cidr_block = "10.11.2.0/24"
|
||
|
primary_dns: "94.237.127.9"
|
||
|
secondary_dns: "94.237.40.9"
|
||
|
main_domain = "librecloud.online"
|
||
|
domains_search = "librecloud.online"
|
||
|
# Main user (default Debian user is admin)
|
||
|
user = "devadm"
|
||
|
user_home = "/home/devadm"
|
||
|
user_ssh_port = 22
|
||
|
fix_local_hosts = True
|
||
|
installer_user = "root"
|
||
|
}
|