<commit_before># WIP (DRAFT STATUS)
<span style="color: red; background-color: black;"><b>Currently there is an issue upstream that if you reboot
any node with containers the containers will come back without IP addresses.
The issue appears to be that lxc-net is masked by systemd by default. Running -
lxc-system-manage system-rebuild - resolves it.</b></span>

[![Stories in Ready](https://badge.waffle.io/mrhillsman/opclab.svg?label=ready&title=Ready)](http://waffle.io/mrhillsman/opclab)  

## opclab
Configuration scripts to build an OpenStack multi-node VM lab environment for onboarding and testing purposes.  

##### OnMetal Cloud Server is required (has only been tested with I/O v1 and I/O v2)
*I/O v2 recommended*  


## Pre-install Consideration (v1 only)
##### Make sure your OnMetal host is using all available CPU power  
will not be necessary in the future (probably 16.04 - images team is aware)
##### opc-host-setup will NOT perform this if you forget

```shell
# Manually check for acpi bug and fix if you did not already heed the IMPORTANT section above
if ! [ `awk '/processor/ { count++ } END { print count }' /proc/cpuinfo` -eq 40 ]; then
  if [ -f /root/.cpufixed ]; then
    echo -e "You have another problem other than acpi.\n"
    echo -e "Investigate or you can continue at your own risk.\n"
    read -p "Continue [y/n]: " __UNDER40__<commit_msg>Minor update<commit_after># WIP (DRAFT STATUS)
<span style="color: red; background-color: black;">## Currently there is an issue upstream that if you reboot
any node with containers the containers will come back without IP addresses.
The issue appears to be that lxc-net is masked by systemd by default. Running -
lxc-system-manage system-rebuild - resolves it.</span>

[![Stories in Ready](https://badge.waffle.io/mrhillsman/opclab.svg?label=ready&title=Ready)](http://waffle.io/mrhillsman/opclab)  

## opclab
Configuration scripts to build an OpenStack multi-node VM lab environment for onboarding and testing purposes.  

##### OnMetal Cloud Server is required (has only been tested with I/O v1 and I/O v2)
*I/O v2 recommended*  


## Pre-install Consideration (v1 only)
##### Make sure your OnMetal host is using all available CPU power  
will not be necessary in the future (probably 16.04 - images team is aware)
##### opc-host-setup will NOT perform this if you forget

```shell
# Manually check for acpi bug and fix if you did not already heed the IMPORTANT section above
if ! [ `awk '/processor/ { count++ } END { print count }' /proc/cpuinfo` -eq 40 ]; then
  if [ -f /root/.cpufixed ]; then
    echo -e "You have another problem other than acpi.\n"
    echo -e "Investigate or you can continue at your own risk.\n"
    read -p "Continue [y/n]: " __UNDER40__
{'fraction_non_alphanumeric': 0.10390083849799489, 'fraction_numerical': 0.008749544294567991, 'mean_word_length': 3.953068592057762, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2780749', 'n_tokens_mistral': 869, 'n_tokens_neox': 821, 'n_words': 359}