blob: eebd0389ecfd9db57430192d6d3fb52ea9172a9c [file] [log] [blame]
Andy Bavier8d51c6c2015-04-01 11:40:22 -04001#!/bin/bash
2
3function create-vm {
4 NAME=$1
5 CPU=$2
6 MEM_MB=$3
7 DISK_GB=$4
8 uvt-kvm list | grep $1
9 if [ "$?" -ne "0" ]
10 then
11 uvt-kvm create $NAME --cpu=$CPU --memory=$MEM_MB --disk=$DISK_GB
12 fi
13}
14
15create-vm juju 1 2048 20
16create-vm mysql 2 4096 40
17create-vm rabbitmq-server 2 4096 40
18create-vm keystone 2 4096 40
19create-vm glance 2 4096 160
20create-vm nova-cloud-controller 2 4096 40
21create-vm quantum-gateway 2 4096 40
22create-vm openstack-dashboard 1 2048 20
23create-vm ceilometer 1 2048 20
24create-vm nagios 1 2048 20