slapos.cfg.example 7.17 KB
Newer Older
1
[slapos]
2 3 4
# Replace computer_id by the unique identifier of your computer on your SlapOS,
# Master, usually starting by COMP-
computer_id = COMP-123456789
5
master_url = https://slap.vifib.com/
6 7 8
key_file = /etc/opt/slapos/ssl/computer.key
cert_file =  /etc/opt/slapos/ssl/computer.crt
certificate_repository_path = /etc/opt/slapos/ssl/partition_pki
9 10
software_root = /opt/slapgrid
instance_root = /srv/slapgrid
11 12

[slapformat]
13 14
# Replace by your network interface providing IPv6 if you don't use re6st
interface_name = lo
15
# Change "create_tap" into "true" if you need to host KVM services
16
create_tap = false
17
partition_amount = 10
18
computer_xml = /opt/slapos/slapos.xml
19
log_file = /opt/slapos/log/slapos-node-format.log
20 21 22
partition_base_name = slappart
user_base_name = slapuser
tap_base_name = slaptap
23 24
# You can choose any other local network which does not conflict with your
# current machine configuration
25
ipv4_local_network = 10.0.0.0/16
26 27
# Change to true if you want slapos to use local-only IPv6
use_unique_local_address = False
28 29 30

[networkcache]
# Define options for binary cache, used to download already compiled software.
31
download-binary-cache-url = http://download.shacache.org/
32
download-cache-url = https://www.shacache.org/shacache
33
download-binary-dir-url = http://dir.shacache.org/
34 35 36 37 38 39 40

# Configuration to Upload Configuration for Binary cache
#upload-binary-dir-url = https://www.shacache.org/shadir
#upload-binary-cache-url = https://www.shacache.org/shacache
#signature_private_key_file = /etc/opt/slapos/shacache/signature.key
#signature_certificate_file = /etc/opt/slapos/shacache/signature.cert
#upload-cache-url = https://www.shacache.org/shacache
41
#shacache-ca-file = /etc/opt/slapos/shacache/ca.cert
42 43 44 45 46
#shacache-cert-file = /etc/opt/slapos/shacache/shacache.cert
#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
47
#shadir-ca-file = /etc/opt/slapos/shacache/ca.cert
48 49 50
#shadir-cert-file = /etc/opt/slapos/shacache/shacache.cert
#shadir-key-file = /etc/opt/slapos/shacache/shacache.key

51 52 53 54
# List of signatures of uploaders we trust:
#   Sebastien Robin
#   Kazuhiko Shiozaki
#   Gabriel Monnerat
55
#   Test Agent Signature
56
#   Yusei Tahara
57
signature-certificate-list =
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
  -----BEGIN CERTIFICATE-----
  MIIB8jCCAVugAwIBAgIJAPu2zchZ2BxoMA0GCSqGSIb3DQEBBQUAMBIxEDAOBgNV
  BAMMB3RzeGRldjMwHhcNMTExMDE0MTIxNjIzWhcNMTIxMDEzMTIxNjIzWjASMRAw
  DgYDVQQDDAd0c3hkZXYzMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrPbh+
  YGmo6mWmhVb1vTqX0BbeU0jCTB8TK3i6ep3tzSw2rkUGSx3niXn9LNTFNcIn3MZN
  XHqbb4AS2Zxyk/2tr3939qqOrS4YRCtXBwTCuFY6r+a7pZsjiTNddPsEhuj4lEnR
  L8Ax5mmzoi9nE+hiPSwqjRwWRU1+182rzXmN4QIDAQABo1AwTjAdBgNVHQ4EFgQU
  /4XXREzqBbBNJvX5gU8tLWxZaeQwHwYDVR0jBBgwFoAU/4XXREzqBbBNJvX5gU8t
  LWxZaeQwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOBgQA07q/rKoE7fAda
  FED57/SR00OvY9wLlFEF2QJ5OLu+O33YUXDDbGpfUSF9R8l0g9dix1JbWK9nQ6Yd
  R/KCo6D0sw0ZgeQv1aUXbl/xJ9k4jlTxmWbPeiiPZEqU1W9wN5lkGuLxV4CEGTKU
  hJA/yXa1wbwIPGvX3tVKdOEWPRXZLg==
  -----END CERTIFICATE-----
  -----BEGIN CERTIFICATE-----
  MIIB7jCCAVegAwIBAgIJAJWA0jQ4o9DGMA0GCSqGSIb3DQEBBQUAMA8xDTALBgNV
  BAMMBHg2MXMwIBcNMTExMTI0MTAyNDQzWhgPMjExMTEw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P6zUd1cMB8GA1UdIwQYMBaAFMDmW9aFy1sKTfCp
  cRkYnP6zUd1cMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAskbFizHr
  b6d3iIyN+wffxz/V9epbKIZVEGJd/6LrTdLiUfJPec7FaxVCWNyKBlCpINBM7cEV
  Gn9t8mdVQflNqOlAMkOlUv1ZugCt9rXYQOV7rrEYJBWirn43BOMn9Flp2nibblby
  If1a2ZoqHRxoNo2yTmm7TSYRORWVS+vvfjY=
  -----END CERTIFICATE-----
97
  -----BEGIN CERTIFICATE-----
98 99 100 101 102 103 104 105 106 107 108 109
  MIIB9jCCAV+gAwIBAgIJAKRvzcy7OH0UMA0GCSqGSIb3DQEBBQUAMBMxETAPBgNV
  BAMMCENPTVAtNzcyMCAXDTEyMDgxMDE1NDI1MVoYDzIxMTIwNzE3MTU0MjUxWjAT
  MREwDwYDVQQDDAhDT01QLTc3MjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
  o7aipd6MbnuGDeR1UJUjuMLQUariAyQ2l2ZDS6TfOwjHiPw/mhzkielgk73kqN7A
  sUREx41eTcYCXzTq3WP3xCLE4LxLg1eIhd4nwNHj8H18xR9aP0AGjo4UFl5BOMa1
  mwoyBt3VtfGtUmb8whpeJgHhqrPPxLoON+i6fIbXDaUCAwEAAaNQME4wHQYDVR0O
  BBYEFEfjy3OopT2lOksKmKBNHTJE2hFlMB8GA1UdIwQYMBaAFEfjy3OopT2lOksK
  mKBNHTJE2hFlMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAaNRx6YN2
  M/p3R8/xS6zvH1EqJ3FFD7XeAQ52WuQnKSREzuw0dsw12ClxjcHiQEFioyTiTtjs
  5pW18Ry5Ie7iFK4cQMerZwWPxBodEbAteYlRsI6kePV7Gf735Y1RpuN8qZ2sYL6e
  x2IMeSwJ82BpdEI5niXxB+iT0HxhmR+XaMI=
  -----END CERTIFICATE-----
110 111 112 113 114 115 116 117 118 119 120 121 122
  -----BEGIN CERTIFICATE-----
  MIICAjCCAWugAwIBAgIJAP/k6bltwfZCMA0GCSqGSIb3DQEBCwUAMBkxFzAVBgNV
  BAMMDmxvY2FsX2NvbXB1dGVyMCAXDTE3MTEwOTA2NTU1M1oYDzIxMTcxMDE2MDY1
  NTUzWjAZMRcwFQYDVQQDDA5sb2NhbF9jb21wdXRlcjCBnzANBgkqhkiG9w0BAQEF
  AAOBjQAwgYkCgYEAuWN8O1PQ23mulMu45fDxTHeoI33MDWDLHP9gthsMbTplftDf
  k8BAKCp/ugbAkCD5LTx/6RH1RdyM/LApUI/n+fxFnnVZn8Fyuzwu/TlvGdNT5yrj
  RhBkcxeCpWWz9Ysezj9jVnK+TCSjJeb/N55aMgXAVjrIeJkR4SkPDdMBtcMCAwEA
  AaNQME4wHQYDVR0OBBYEFJ+1cOY78rvaNAzqshFjVOWfqoMzMB8GA1UdIwQYMBaA
  FJ+1cOY78rvaNAzqshFjVOWfqoMzMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEL
  BQADgYEAJDLdo6fXZxEaHYJuZ6XuYPNAYAcSOiSbJoMSSz7qQJ+4FWPGCBnhiZbU
  SyslQFs59yqNxb046uKi7D4JeUd0zdBO3TtceGRK3iyEFNx8GF+em/6pNnC3A/XH
  +L1VRZsQdvh7NHsl/dVvWmmlmOANQ/+JkLbe98c/rCmBDH48Ldc=
  -----END CERTIFICATE-----
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
123
# List of URL(s) which shouldn't be downloaded from binary cache.
124
# Any URL beginning by a blacklisted URL will be blacklisted as well.
125
download-from-binary-cache-url-blacklist =
126 127 128
  https://lab.nexedi.cn/nexedi/slapos/raw/master
  https://lab.nexedi.cn/nexedi/slapos/raw/1.0/
  https://lab.nexedi.cn/nexedi/slapos/raw/erp5
129 130 131
  https://lab.nexedi.com/nexedi/slapos/raw/master
  https://lab.nexedi.com/nexedi/slapos/raw/1.0/
  https://lab.nexedi.com/nexedi/slapos/raw/erp5
132
  http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD
133
  http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads
134
  /
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
135
# List of URL(s) which shouldn't be uploaded into binary cache.
136
# Any URL beginning by a blacklisted URL will be blacklisted as well.
137
upload-to-binary-cache-url-blacklist =
138 139 140
  https://lab.nexedi.cn/nexedi/slapos/raw/master
  https://lab.nexedi.cn/nexedi/slapos/raw/1.0/
  https://lab.nexedi.cn/nexedi/slapos/raw/erp5
141 142 143
  https://lab.nexedi.com/nexedi/slapos/raw/master
  https://lab.nexedi.com/nexedi/slapos/raw/1.0/
  https://lab.nexedi.com/nexedi/slapos/raw/erp5
144
  http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD
145
  http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads
146
  /