oci-poc.conf 3.39 KB
Newer Older
1 2 3 4 5
###################################
### Domain and host information ###
###################################
GUESTS_DOMAIN_NAME=infomaniak.ch
OCI_VM_HOSTNAME=oci-puppet-master
6
OCI_VM_FQDN=${OCI_VM_HOSTNAME}.${GUESTS_DOMAIN_NAME}
7 8 9 10 11
OCI_VM_ROOT_PASS=a_big_secret

#####################################
### Host interfaces configuration ###
#####################################
12 13
HOST_MGMT_INTERFACE=eth0

14 15
HOST_NETWORK_PREFIX=192.168.100

16 17 18 19
# This will provision access to 4 cluster networks in the host's
# machine. The host will do routing for them, so that the PXE
# server machine can access them through the host's bridge.
# Each time, .1 will be added to the host's nic.
20
CLUSTER_NETWORK_CIDRS="192.168.101.0/24 192.168.102.0/24 192.168.103.0/24 192.168.104.0/24 192.168.105.0/24 192.168.106.0/24"
21

22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
PRIMARY_DNS=84.16.67.69
SECONDA_DNS=84.16.67.70

# CIDR of your VM bridge
HOST_BRIDGE_NET=${HOST_NETWORK_PREFIX}.0/24

# Gateway to configure on your machine
HOST_BRIDGE_GW=${HOST_NETWORK_PREFIX}.1

# Address for the provisionning VM
OCI_VM_IP=${HOST_NETWORK_PREFIX}.2

# CIDRv6 of your VM bridge
HOST_BRIDGE_NET6=fd5d:12c9:2201:1::1/24

# Host dummynet interface name
HOST_DUMMYNET_IFNAME=ocinic0

# MAC address of the nic of the host
HOST_DUMMYNET_MAC=00:22:22:dd:ee:ff

# Name of the bridge that VMs connects to
HOST_BRIDGE_NAME=ocibr0

# Prefix for the tap interfaces to connect VMs to
# it will be post-fixed with a number, like ocivm0
GUEST_TAPIF_PREFIX=ocivmtap

50 51 52 53 54 55 56 57
#####################
### Release names ###
#####################
# Name of the OpenStack release for the backport repository
openstack_release=rocky

# Name of the Debian distribution for the backport repository.
# Can be set to sid for development purpose.
58
debian_release=buster
59

60 61 62
#################################
### Debian mirror definitions ###
#################################
63 64
# IP or hostname of your Debian mirror. Usually set to
# an approx IP:port
65 66 67 68 69 70 71 72
DEBIAN_MIRROR_HOST=10.4.22.95:9999

# Debian mirror close to you. Hint: use approx or apt-cacher.
DEBIAN_MIRROR=http://${DEBIAN_MIRROR_HOST}/debian

# Debian security mirror close to you. Hint: use approx or apt-cacher.
DEBIAN_SECURITY_MIRROR=http://${DEBIAN_MIRROR_HOST}/security

73 74 75 76 77 78 79
# Unofficial debian.net Stable backports
DEBIAN_DOT_NET_REPO=http://${debian_release}-${openstack_release}.debian.net/debian

# Incoming buildd address. Normally:
# http://incoming.debian.org/debian-buildd
DEBIAN_INCOMING_BUILDD=http://${DEBIAN_MIRROR_HOST}/debian-buildd

80
# Ceph repository for Stretch, as we need Luminous from upstream
81 82 83 84
# Normal repo without mirroring is: http://download.ceph.com/debian-luminous
# Mirror list available at: https://ceph.com/get/#ceph-mirrors
DEBIAN_MIRROR_CEPH=http://apt.infomaniak.ch/download.ceph.com/debian-luminous

85
# Use the above repository?
86
use_debian_dot_net_backport=no
87 88 89 90 91

# This is useful for development, when you want fast
# update of the package in the Sid Debian repository.
install_buildd_incoming=no

92
# Useful for building with Stretch
93
use_upstream_ceph_mirror=no
94

95 96 97
########################
### Slave node range ###
########################
98
NUMBER_OF_GUESTS=19
99 100 101 102 103 104 105 106 107 108 109

# Guest HDD size in number of GB
GUEST_HDD_SIZE=10

# This will be used in the DHCP server
# With this file untouch, it's goint to be:
# range 192.168.100.20 192.168.100.250;
GUEST_FIRST_SLAVE_IP=${HOST_NETWORK_PREFIX}.20
GUEST_LAST_SLAVE_IP=${HOST_NETWORK_PREFIX}.250

GUEST_MAC_ADDRESS_PREFIX=08:00:27:06:CC:
110
GUEST_MAC_ADDRESS_PREFIX2=08:00:27:06:DC:
111