Commit fdadf84c authored by Yusei Tahara's avatar Yusei Tahara

Update slapos.cfg

parent a04d7885
...@@ -5,6 +5,12 @@ computer_id = local_computer ...@@ -5,6 +5,12 @@ computer_id = local_computer
master_url = http://127.0.0.1:8080 master_url = http://127.0.0.1:8080
software_root = /opt/slapgrid software_root = /opt/slapgrid
instance_root = /srv/slapgrid instance_root = /srv/slapgrid
# A list of directories containing shared parts for slapos.recipe.cmmi.
# Only the last one is used to install new parts, other ones can have
# already installed parts.
#shared_part_list =
# /opt/slapgrid/read_only_shared
# /opt/slapgrid/shared
[slapformat] [slapformat]
alter_network = False alter_network = False
...@@ -18,30 +24,45 @@ log_file = /opt/slapos/log/slapos-node-format.log ...@@ -18,30 +24,45 @@ log_file = /opt/slapos/log/slapos-node-format.log
partition_base_name = slappart partition_base_name = slappart
user_base_name = slapuser user_base_name = slapuser
tap_base_name = slaptap tap_base_name = slaptap
# Change "tap_ipv6" into "false" if you don't want the tap to have IPv6 addresses (tap will have only IPv4)
# This option has no effect if create_tap is false
tap_ipv6 = true
# You can choose any other local network which does not conflict with your # You can choose any other local network which does not conflict with your
# current machine configuration # current machine configuration
ipv4_local_network = 127.0.0.1/32 ipv4_local_network = 127.0.0.1/32
# Change to true if you want slapos to use local-only IPv6
use_unique_local_address = False
input_definition_file = /etc/opt/slapos/computer_definition.cfg input_definition_file = /etc/opt/slapos/computer_definition.cfg
# to enable, change to [firewall]
[disabled-firewall]
dbus_executable = /opt/slapos/parts/dbus/bin/dbus-daemon --nofork --nopidfile --system --nosyslog
firewall_executable = /opt/slapos/parts/firewalld/sbin/firewalld --nofork --nopid --log-file /opt/slapos/log/firewalld-process.log
firewall_cmd = /opt/slapos/parts/firewalld/bin/firewall-cmd
reload_config_cmd = /opt/slapos/parts/firewalld/bin/firewall-cmd --reload
log_file = /opt/slapos/log/slapos-node-format.log
dbus_log_file = /opt/slapos/log/slapos-node-format.log
# Authorized IP address sources
authorized_sources =
[networkcache] [networkcache]
# Define options for binary cache, used to download already compiled software. # Define options for binary cache, used to download already compiled software.
download-binary-cache-url = http://download.shacache.org/ download-binary-cache-url = http://shacache.nxdcdn.com
download-cache-url = https://www.shacache.org/shacache download-binary-dir-url = http://shadir.nxdcdn.com
download-binary-dir-url = http://dir.shacache.org/
# Define options for regular cache (python eggs and url).
download-cache-url = http://shacache.nxdcdn.com
download-dir-url = http://shadir.nxdcdn.com
# Configuration to Upload Configuration for Binary cache # Upload Configuration
#signature-private-key-file = /etc/opt/slapos/shacache/signature.key
#upload-binary-dir-url = https://www.shacache.org/shadir #upload-binary-dir-url = https://www.shacache.org/shadir
#upload-binary-cache-url = https://www.shacache.org/shacache #upload-binary-cache-url = https://www.shacache.org/shacache
#signature_private_#signature_certificate_file = /etc/opt/slapos/shacache/signature.cert
#upload-cache-url = https://www.shacache.org/shacache #upload-cache-url = https://www.shacache.org/shacache
#upload-dir-url = https://www.shacache.org/shadir
# Options for HTTPS URLs
#shacache-ca-file = /etc/opt/slapos/shacache/ca.cert #shacache-ca-file = /etc/opt/slapos/shacache/ca.cert
#shacache-cert-file = /etc/opt/slapos/shacache/shacache.cert #shacache-cert-file = /etc/opt/slapos/shacache/shacache.cert
#shacache-key-file = /etc/opt/slapos/shacache/shacache.key #shacache-key-file = /etc/opt/slapos/shacache/shacache.key
#upload-binary-dir-url = https://www.shacache.org/shadir
#upload-binary-cache-url = https://www.shacache.org/shacache
#upload-dir-url = https://www.shacache.org/shadir
#shadir-ca-file = /etc/opt/slapos/shacache/ca.cert #shadir-ca-file = /etc/opt/slapos/shacache/ca.cert
#shadir-cert-file = /etc/opt/slapos/shacache/shacache.cert #shadir-cert-file = /etc/opt/slapos/shacache/shacache.cert
#shadir-key-file = /etc/opt/slapos/shacache/shacache.key #shadir-key-file = /etc/opt/slapos/shacache/shacache.key
...@@ -51,7 +72,7 @@ download-binary-dir-url = http://dir.shacache.org/ ...@@ -51,7 +72,7 @@ download-binary-dir-url = http://dir.shacache.org/
# Kazuhiko Shiozaki # Kazuhiko Shiozaki
# Gabriel Monnerat # Gabriel Monnerat
# Test Agent Signature # Test Agent Signature
# Yusei # Yusei Tahara
signature-certificate-list = signature-certificate-list =
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIB8jCCAVugAwIBAgIJAPu2zchZ2BxoMA0GCSqGSIb3DQEBBQUAMBIxEDAOBgNV MIIB8jCCAVugAwIBAgIJAPu2zchZ2BxoMA0GCSqGSIb3DQEBBQUAMBIxEDAOBgNV
...@@ -127,6 +148,9 @@ download-from-binary-cache-url-blacklist = ...@@ -127,6 +148,9 @@ download-from-binary-cache-url-blacklist =
https://lab.nexedi.com/nexedi/slapos/raw/master https://lab.nexedi.com/nexedi/slapos/raw/master
https://lab.nexedi.com/nexedi/slapos/raw/1.0/ https://lab.nexedi.com/nexedi/slapos/raw/1.0/
https://lab.nexedi.com/nexedi/slapos/raw/erp5 https://lab.nexedi.com/nexedi/slapos/raw/erp5
https://lab.nxdcdn.com/nexedi/slapos/raw/master
https://lab.nxdcdn.com/nexedi/slapos/raw/1.0/
https://lab.nxdcdn.com/nexedi/slapos/raw/erp5
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads
/ /
...@@ -139,6 +163,21 @@ upload-to-binary-cache-url-blacklist = ...@@ -139,6 +163,21 @@ upload-to-binary-cache-url-blacklist =
https://lab.nexedi.com/nexedi/slapos/raw/master https://lab.nexedi.com/nexedi/slapos/raw/master
https://lab.nexedi.com/nexedi/slapos/raw/1.0/ https://lab.nexedi.com/nexedi/slapos/raw/1.0/
https://lab.nexedi.com/nexedi/slapos/raw/erp5 https://lab.nexedi.com/nexedi/slapos/raw/erp5
https://lab.nxdcdn.com/nexedi/slapos/raw/master
https://lab.nxdcdn.com/nexedi/slapos/raw/1.0/
https://lab.nxdcdn.com/nexedi/slapos/raw/erp5
http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads
/ /
# List of URL(s) which are forced to be downloaded from binary cache
#download-from-binary-cache-force-url-list =
# https://lab.nexedi.com/nexedi/slapos/raw/1.0.
# https://lab.nxdcdn.com/nexedi/slapos/raw/1.0.
# https://lab.node.vifib.com/nexedi/slapos/raw/1.0.
[collect]
enable = True
time_cycle = 86400
pid_folder = /srv/slapgrid/var/run
use_quota = False
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment