<commit_before>#! /bin/bash

set -eux

# install prereqs
sudo yum install -y git vim

# get extras

# fix sudo

# set selinux to permissive
sudo sed -i "s/=enforcing/=permissive/"

# clone undercloud-live

echo "The machine has been prepared to become the undercloud.  You must reboot to complete the selinux configuration changes."<commit_msg>added code to clone required repos<commit_after>#! /bin/bash

set -eux

# install prereqs
sudo yum install -y git vim

# get extras
mkdir -p ~/extra
cd ~/extra
git clone https://github.com/rbrady/tripleo-heat-templates.git
git clone https://github.com/rbrady/flaming-octo-tyrion.git

# fix sudo
sudo flaming-octo-tyrion/fix_sudo.sh rh

# set selinux to permissive
sudo sed -i "s/=enforcing/=permissive/"

# clone undercloud-live
cd
git clone https://github.com/rbrady/undercloud-live

echo "The machine has been prepared to become the undercloud.  You must reboot to complete the selinux configuration changes."
{'fraction_non_alphanumeric': 0.09214659685863874, 'fraction_numerical': 0.0, 'mean_word_length': 4.058201058201059, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '1383995', 'n_tokens_mistral': 342, 'n_tokens_neox': 314, 'n_words': 112}