e1e304c4f9
* Add docker Ubuntu Trusty packer template. * Rework cmtools to install ansible and puppet * Add support for Vagrant provider docker. * Containers will share the host system docker daemon and images in the storage, so may be run nested. * Ensure the rsyslogd and sshd is running in containers. * Also ensure the /var/log/solar dir, which is required for docker. * W/a Solar-hardcoded and vbox specific ssh key paths for docker case. * Update FAQ and docs Depends-on: I881d362968a10d816cbd368cb185900dfaa0b3bc Partial-bug: #1547587 Note, vagrant does not support vm.network and exec based provisioning for docker, so there are workarounds. Change-Id: Idf91bd6ed2fb90601f517064705df7721aeae3fb Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# copy it to vagrant-settings.yaml then Vagrantfile
|
|
# will use values from this file
|
|
|
|
slaves_count: 2
|
|
slaves_ram: 1024
|
|
master_image: solar-project/solar-master
|
|
master_image_version: ">= 0.3.0.pre0"
|
|
slaves_image: solar-project/solar-master
|
|
slaves_image_version: ">= 0.3.0.pre0"
|
|
docker_master_image: solar-project/solar-master
|
|
docker_slaves_image: solar-project/solar-master
|
|
docker_cmd: "/sbin/init"
|
|
master_ram: 1024
|
|
master_cpus: 1
|
|
master_ips:
|
|
- 10.0.0.2
|
|
- 10.1.0.2
|
|
- 10.2.0.2
|
|
slaves_cpus: 1
|
|
slaves_ips:
|
|
- 10.0.0.
|
|
- 10.1.0.
|
|
- 10.2.0.
|
|
|
|
# if you have virtualbox 5.x then enable it
|
|
# if will speedup things a lot
|
|
# paravirtprovider: kvm
|
|
|
|
# By default Virtualbox shared folder is used which is very slow
|
|
# Uncomment following option to change it.
|
|
# Possible options are: rsync, nfs
|
|
# sync_type: nfs
|
|
|
|
# Use vagrant image in order to perform provisioning
|
|
preprovisioned: true
|
|
|
|
# Use pxe bootstrap in order to bootstrap nodes
|
|
# it should be used in order to provision nodes
|
|
# by solar
|
|
# preprovisioned: false
|
|
|
|
|
|
# needed for starting / preparing db server
|
|
# you can choose from riak | postgresql
|
|
solar_db_backend: riak
|