A set of bash scripts that allow to easily deploy Fuel environment and try OpenStack using VirtualBox as a virtualization layer.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Flavio Percoco b3974ca561 Show team and repo badges on README 2 years ago
actions Add the serial COM1 port to the slave nodes. 2 years ago
contrib Don't use Sed's GNU extension to support MacOSX 2 years ago
drivers ROM firmware is optional now 3 years ago
functions Disable audio totally 2 years ago
iso [vbox] Created folder for iso in virtualbox 5 years ago
.gitignore Add maintenance files 3 years ago
.gitreview Add maintenance files 3 years ago
MAINTAINERS Update MAINTAINERS 3 years ago
README.md Show team and repo badges on README 2 years ago
clean.sh Fix PATH issue for VirtualBox on Windows 3 years ago
config.sh Add ssh public key to Fuel master node 2 years ago
dumpkeys.cache Do not hardcode scancodes that change isolinux boot params 3 years ago
launch.sh Fix PATH issue for VirtualBox on Windows 3 years ago
launch_8GB.sh Fix PATH issue for VirtualBox on Windows 3 years ago
launch_16GB.sh Fix PATH issue for VirtualBox on Windows 3 years ago

README.md

Team and repository tags

Team and repository tags

Mirantis VirtualBox scripts

Mirantis VirtualBox scripts are used to automate the installation of Fuel and Mirantis OpenStack. When you install Mirantis OpenStack using the Mirantis VirtualBox scripts, you do not need to configure the virtual machine network and hardware settings. The script automatically provisions the virtual machines with all required settings. However, you must place the latest Mirantis OpenStack ISO image in the iso directory. You may also modify the number of Fuel Slave nodes using the config.sh script.

Requirements

  • VirtualBox with VirtualBox Extension Pack
  • procps
  • expect
  • openssh-client
  • xxd
  • Cygwin for Windows host PC
  • Enable VT-x/AMD-V acceleration option on your hardware for 64-bits guests
  • Enable Internet access

Run

In order to successfully run Mirantis OpenStack under VirtualBox, you need to:

  • download the official release (.iso) and place it under ‘iso/’ directory
  • run “./launch.sh” (or “./launch_8GB.sh” or “./launch_16GB.sh” according to your system resources). It will automatically pick up the iso and spin up master node and slave nodes

If you run this script under Cygwin, it will automatically add the path to the VirtualBox directory to your PATH.

If there are any errors, the script will report them and abort.

If you want to change settings (number of OpenStack nodes, CPU, RAM, HDD), please refer to “config.sh”.

To shutdown VMs and clean environment just run “./clean.sh”

To deploy on a remote machine just set environment variable REMOTE_HOST with ssh connection string. The variable REMOTE_PORT allows to specify custom port for ssh.

 REMOTE_HOST=user@user.mos.mirantis.net ./launch_8GB.sh
# or
 REMOTE_HOST=user@user.mos.mirantis.net REMOTE_PORT=23 ./launch_8GB.sh

TODO

  • add the ability to use Boot ROM during the remote deploy
  • add the new (even smaller) Boot ROM with iPXE HTTP enabled