10 Commits

Author SHA1 Message Date
Nick Jones
b0cb2fd66a
Specify Vagrant box version
Add a line which states the version of the Vagrant box to be used when
provisioning a development environment.

NB: In this case, 0.2.0 is an image based on CentOS 7.5

Change-Id: I81613df1d20dfd1b99a5d7624fc1627ca185dd7f
Story: 2002086
Task: 19755
2018-05-22 17:15:06 +01:00
Mark Goddard
b3880aa264 Add scripting around the development environment
The following top level scripts are added under dev/:

* overcloud-deploy.sh
* seed-deploy.sh
* seed-hypervisor-deploy.sh

Some amount of configuration is possible via dev/config.sh.
2018-01-31 10:58:19 +00:00
Nick Jones
b8cb373c61
Refactor Vagrantfile to support VMware 2017-11-29 11:30:25 +00:00
Mark Goddard
850a727aab Set the Vagrant development VM's hostname
By default the hostname will be localhost, which causes issues with
RabbitMQ.
2017-10-27 17:35:53 +01:00
Mark Goddard
bbbc55e4a2 Add static configuration of eth1 in development environment
This is required in order to allow kayobe to reach the controller prior to
running the network configuration plays.
2017-09-04 15:47:05 +00:00
simon.guerrero
4fbf0dd50f Disabled vagrant auto-configure of interface 2017-09-04 13:36:50 +01:00
John Garbutt
c5a4e46f4b Disable selinux during provision
To avoid a reboot when running the kayobe scripts, we disable selinux
before running the scripts. We do this using the provision reload plugin
that allows us to do a vagrant reload while provisioning the VM.
2017-08-29 11:58:48 +01:00
John Garbutt
42605939a4 Sync /vagrant folder using virtualbox shared folder
When doing vagrant halt then vagrant up we want the system to keep
working. The easiest way to do this is to use a virtual box plugin to
install the tools, then use the tools to sync the /vagrant directory,
rather than falling back to rsync on every boot of the VM. The rsync
looses all the writes since the last boot, forcing a full reprovision.
2017-08-29 11:50:58 +01:00
Mark Goddard
dc2ea4c1e5 Improve Vagrantfile, add development configuration
Adds commands to install dependencies, and setup a virtualenv with kayobe
installed. Configuration is provided in dev/ for a single controller with
a single network.
2017-08-08 16:23:24 +00:00
Mark Goddard
b654a70e65 Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00