From 133eadeac3e24bba349fe3e5adde4bc3b08a9cb9 Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Fri, 3 Jun 2016 05:17:32 +0800 Subject: [PATCH] Decouple network setup Change-Id: If49cd89f6624caf57c77b31642edd39ba8412bd7 Signed-off-by: Guo Ruijing --- demo/00_bootstrap.sh | 13 +++++ ..._setup_network.sh => 01_setup_redsocks.sh} | 48 ++----------------- demo/04_setup_fuel.sh | 16 +++++++ demo/README.md | 23 +++++---- 4 files changed, 46 insertions(+), 54 deletions(-) create mode 100755 demo/00_bootstrap.sh rename demo/{01_setup_network.sh => 01_setup_redsocks.sh} (52%) diff --git a/demo/00_bootstrap.sh b/demo/00_bootstrap.sh new file mode 100755 index 0000000..fd9095e --- /dev/null +++ b/demo/00_bootstrap.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +HTTP_PROXY=${HTTP_PROXY:-http://proxy-chain.intel.com:911} +cat < https://raw.githubusercontent.com/openstack/fuel-plugin-ovs/master/demo/01_setup_network.sh | bash -s -- -h=-d= -s= -p= +a. SOCK5_IP: socks5 proxy for fuel VM +b. SOCK5_PORT: socks5 proxy for fuel VM +b. RED_TCPORT: redsocks tcp port 2. 02_install_packages.sh @@ -43,8 +43,11 @@ The script is to setup vnc. Default vnc password is 123456. 4. 04_setup_fuel.sh -The script is to create 1 master VM and 4 slave VMs. Fuel ISO is copied to this -directory before running the script. +The script is to create 1 master VM and 4 slave VMs: + +a. change DNS_SERVER +b. download ISO. Examle: http://seed-us1.fuel-infra.org/fuelweb-community-release/fuel-community-9.0.iso. +c. run the script 5. 05_destroy_fuel.sh