There are many ways you can create or manage Virtual Machines for your numerous lab environments.
I can go for traditional approach ether VMware Workstation or Virtual Box but hold on, i thought why don't i go for openstack images.
This guide will help you to install Openstack Standalone installation on a Ubuntu 16.04 Box.
Hope you have a good internet speed too, take my words it will work like a charm.
So first of all you must have a Linux Box with Ubuntu 16.04 OS within it and predefined scripts within DevStack will do the hard stuffs for you.
Create a user " stack " and give it sudo privileges .
useradd -s /bin/bash -d /opt/stack -m stack
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
Switch to user stack from terminal.
su - stackNow Download Devstack.
Since we are using internet directly, we gonna download the latest version on the go from git at all.
sudo apt-get install git -y || sudo yum install -y git git clone https://git.openstack.org/openstack-dev/devstack cd devstack
Once downloaded, switch to devstack directory and make some required configuration changes.
Copy local.conf file to devstack root directory
stack@Linux-Maniac:~/devstack$ cp /opt/stack/devstack/samples/local.conf /opt/stack/devstack
stack@Linux-Maniac:~/devstack$ vim local.conf
So i had the below mentioned changes, you can make it on the same fashion too.
[[local|localrc]]# Minimal ContentsADMIN_PASSWORD=redhatDATABASE_PASSWORD=$ADMIN_PASSWORDRABBIT_PASSWORD=$ADMIN_PASSWORDSERVICE_PASSWORD=$ADMIN_PASSWORD
Once done, save the file and toggle back to the same devstack root directory and run the final script.
stack@Linux-Maniac:~/devstack$ ./stack.sh
The entire process can take a time from 30 Min - 1 Hour or more depending upon you network internet speed.
at the end you can see something like that.
Your IP will vary offcourse, you can now login to your default dashboard login page.
http://your.ip.here/dashboard
Refrnc : Openstack Officials