Add scripts to setup development env 95/4795/4
authorQiLiang <liangqi1@huawei.com>
Thu, 17 Dec 2015 14:09:28 +0000 (14:09 +0000)
committerQiLiang <liangqi1@huawei.com>
Thu, 17 Dec 2015 14:32:21 +0000 (14:32 +0000)
commit459ddd6e4bcd28b37b675eaba01501e17e50de39
treefc4b9b22d3691b97ca0bf88c15ec6f9f562e2d63
parent833d16b53e59967db779b0eba37d4f7481cb94e9
Add scripts to setup development env

Usage:

    apt-get install -y genisoimage \
        libvirt-bin \
        qemu-kvm
    service libvirt-bin restart

    cd bottlenecks/utils/rubbos_dev_env_setup
    ./deploy.sh

The deploy.sh will create 9 vms (ip from 192.168.122.11 ~ 19):
control,httpd,mysql,tomcat,client1,client2,client3,client4,benchmark

TODO: add scripts to build initial disk.img

JIRA:BOTTLENECK-24

Change-Id: I99b5bcae8b795cee80e8688aae18b69e46249548
Signed-off-by: QiLiang <liangqi1@huawei.com>
utils/rubbos_dev_env_setup/deploy.sh [new file with mode: 0755]
utils/rubbos_dev_env_setup/env_config.sh [new file with mode: 0644]
utils/rubbos_dev_env_setup/libvirt_template.xml [new file with mode: 0644]
utils/rubbos_dev_env_setup/mac_generator.sh [new file with mode: 0755]
utils/rubbos_dev_env_setup/meta-data_template [new file with mode: 0644]
utils/rubbos_dev_env_setup/user-data_template [new file with mode: 0644]