Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 656 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 656 Bytes

pansible

A bash script which runs on undercloud and boots an instance with ssh/ping access. Script first creates an ansible inventory file from UC's nova list. Then uses inventory file to run preflight.yml ansible.

The preflight.yml will do a few things on the OC:

  1. Create a private network/subnet.
  2. A router connecting public and internal networks.
  3. Downloads a Cirros image from web, uploads it to Glance.
  4. Creates a Nova tiny flavor.
  5. Boots an instance, while assigng both internal+public IPs.
  6. Create a security group which enables ssh/ping into instance.

How to run: ./pansible.sh x where x is how many instances you wish to boot.