aboutsummaryrefslogtreecommitdiff
path: root/dev/vagrant/Vagrantfile.custom.example
blob: 60046d1562fead3cc02bd3a581939b8af73e143d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# -*- mode: ruby -*-
# vi: set ft=ruby :

# This file is an example of Vagrant configuration.
# Copy it to Vagrantfile.custom and configure it to your liking to customize
# the Vagrant deployment. The Vagrantfile.custom file is sourced by the
# Vagrantfile, it has to be valid ruby code.

# Either libvirt or virtualbox
# PROVIDER = "libvirt"

# Either centos or ubuntu
# DISTRO = "centos"

# PROVIDER_DEFAULTS = {
#   libvirt: {
#     centos: {
#       base_image: "centos/7",
#       bridge_interface: "virbr0",
#       vagrant_shared_folder: "/home/vagrant/sync",
#       sync_method: "nfs",
#       provision_script: "bootstrap.sh",
#       kolla_path: "/home/vagrant/kolla"
#     }
#   },
#   virtualbox: {
#     centos: {
#       base_image: "puppetlabs/centos-7.0-64-puppet",
#       bridge_interface: "wlp3s0b1",
#       vagrant_shared_folder: "/vagrant",
#       sync_method: "virtualbox",
#       provision_script: "bootstrap.sh",
#       kolla_path: "/home/vagrant/kolla"
#     },
#     ubuntu: {
#       base_image: "ubuntu/wily64",
#       bridge_interface: "wlp3s0b1",
#       vagrant_shared_folder: "/home/vagrant/sync",
#       sync_method: "nfs",
#       provision_script: "ubuntu-bootstrap.sh",
#       kolla_path: "/usr/local/kolla"
#     }
#   }
# }

# Whether to do Multi-node or All-in-One deployment
# MULTINODE = false

# The following is only used when deploying in Multi-nodes
# NUMBER_OF_CONTROL_NODES = 3
# NUMBER_OF_COMPUTE_NODES = 1
# NUMBER_OF_STORAGE_NODES = 1
# NUMBER_OF_NETWORK_NODES = 1

# NODE_SETTINGS = {
#   aio: {
#     cpus: 4,
#     memory: 4096
#   },
#   operator: {
#     cpus: 1,
#     memory: 1024
#   },
#   control: {
#     cpus: 1,
#     memory: 2048
#   },
#   compute: {
#     cpus: 1,
#     memory: 1024
#   },
#   storage: {
#     cpus: 1,
#     memory: 1024
#   },
#   network: {
#     cpus: 1,
#     memory: 1024
#   }
# }