Browse files

Add build status flag into and fix some build issue for ubu…

…ntu setup.
  • Loading branch information...
ricofehr committed Mar 23, 2015
1 parent dbdf0eb commit 1326e35a31d80ca8c1cea16771478f473af8aec7
Showing with 12 additions and 6 deletions.
  1. +2 −1 .gitignore
  2. +3 −1
  3. +6 −3 scripts/inc/setup_debian
  4. +1 −1 scripts/setup
  5. 0 tmp/.keep
@@ -8,7 +8,8 @@
# Ignore temporary folder
# Ignore nohup file
@@ -1,5 +1,7 @@
# Mvmc
[![Build Status](](
The project is an ongoing deployment system virtualized development environment in the cloud. Generic installation templates are defined for different frameworks or cms. When creating a project, a git repository is associated with this installation template. Thus, virtual machines can be run on demand by deploying the site on a preinstalled system following prerequisites specified in the template.
The project uses a cloud to host vms. The api is working actually with openstack. In the future, HP and AWS cloud will also be taken into account. Installation templates are defined for the puppet tool. Git is used for versioning developments on projects and Gitlab manager is installed for these deposits. A REST API (in ruby on rails) is the intermediary between these systems and can manage user authentication, project creation, adding users, and of course the launch of vms.
@@ -77,7 +79,7 @@ When local mvmc facility (see above INSTALL), the following users are created:
* userg@os.mvmc (password: word123123 and guest group)
## Templates d'installation
## Vm installation pattern
The tool used for managing templates facilities associated with the project is puppet. Currently supported technologies are mainly directed php with Symfony2, drupal and wordpress. It is also possible to start a vm "php" without involving a framework or cms. To follow, support for Java technology (ame), windows (sitecore), ...
@@ -26,12 +26,15 @@ install_vagrant_debian() {
install_libvirt_debian() {
output -q "Libvirt Installation ..."
sudo apt-get -y --force-yes install libvirt-daemon libvirt-bin virt-manager
sudo apt-get -y --force-yes install virt-manager
(($?!=0)) && output -e 'Libvirt installation has failed'
sudo usermod -G libvirt -a $USER
sudo usermod -G "$(grep libvirt /etc/group | cut -d: -f 1)" -a $USER
(($?!=0)) && output -e 'Cant add current user to libvirt group'
sudo service libvirtd restart
# check if libvirt is already on user group
groups | grep libvirt
(($?!=0)) && output -e 'libvirt is not already on your group list. Please exit term, log you again with current user and start again ./scripts/./setup'
# libvirt plugin for vagrant install
@@ -306,7 +306,7 @@ start_vms() {
vagrant up --provider=${hvisor}
(($?!=0)) && output -w 'Manager node creation has error(s)'
# ensure that rails app is up
sleep 120
sleep 300
output -q "The manager instance is up"
popd > /dev/null
No changes.

0 comments on commit 1326e35

Please sign in to comment.