Configuration/Setting module added
This commit is contained in:
parent
71279a968f
commit
bc58a6ed9c
11 changed files with 217 additions and 106 deletions
|
|
@ -1,19 +1,3 @@
|
|||
[otp]
|
||||
server = https://otp.ungleich.ch/ungleichotp/
|
||||
verify_endpoint = verify/
|
||||
auth_name = replace_me
|
||||
auth_realm = replace_me
|
||||
auth_seed = replace_me
|
||||
|
||||
[network]
|
||||
prefix_length = 64
|
||||
prefix = 2001:db8::/48
|
||||
vxlan_phy_dev = eno1
|
||||
|
||||
[netbox]
|
||||
url = https://replace-me.example.com
|
||||
token = replace_me
|
||||
|
||||
[etcd]
|
||||
url = localhost
|
||||
port = 2379
|
||||
|
|
@ -21,33 +5,3 @@ port = 2379
|
|||
ca_cert
|
||||
cert_cert
|
||||
cert_key
|
||||
|
||||
file_prefix = /files/
|
||||
host_prefix = /hosts/
|
||||
image_prefix = /images/
|
||||
image_store_prefix = /imagestore/
|
||||
network_prefix = /networks/
|
||||
request_prefix = /requests/
|
||||
user_prefix = /users/
|
||||
vm_prefix = /vms/
|
||||
|
||||
[storage]
|
||||
|
||||
#values = filesystem, ceph
|
||||
backend = filesystem
|
||||
|
||||
# if STORAGE_BACKEND = filesystem
|
||||
vm_dir = /var/lib/ucloud/vms
|
||||
image_dir = /var/lib/ucloud/images
|
||||
|
||||
# if STORAGE_BACKEND = ceph
|
||||
ceph_vm_pool = ssd
|
||||
ceph_image_pool = ssd
|
||||
|
||||
# Importing uploaded files
|
||||
file_dir = /var/lib/ucloud/files
|
||||
|
||||
# For Migrating VMs over ssh/tcp
|
||||
[ssh]
|
||||
username
|
||||
private_key_path
|
||||
Loading…
Add table
Add a link
Reference in a new issue