<commit_before>### saltstack-base

This is a work-in-progress.

This repository is for configuring a workstation for bootstrap other machines in my lab.

This is a base environment for my other projects:
- [juno-saltstack](https://github.com/dkilcy/juno-saltstack)

Lab Configuration:

| Hostname | Public IP | Lab IP |
|----------|-----------|--------|
| workstation1 | 192.168.1.5 | 10.0.0.5 |
| workstation2 | 192.168.1.6 | 10.0.0.6 |

### Initial Setup

1. Install CentOS 7 from the media image.  Create a user devops as an administrator.
2. Add the EPEL and update: 

 ```bash
yum install -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
yum update -y
yum upgrade -y
```

3. Install MATE Desktop: `yum groupinstall "MATE Desktop"`
4. Reboot and log back in using MATE
5. Using `visudo` allow devops user to sudo without password: `devops ALL=(ALL) NOPASSWD: ALL`
6. Set security policies as root:

 ```bash
sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/sysconfig/selinux
systemctl stop iptables.service<commit_msg>Update EPEL to 7.5<commit_after>### saltstack-base

This is a work-in-progress.

This repository is for configuring a workstation for bootstrap other machines in my lab.

This is a base environment for my other projects:
- [juno-saltstack](https://github.com/dkilcy/juno-saltstack)

Lab Configuration:

| Hostname | Public IP | Lab IP |
|----------|-----------|--------|
| workstation1 | 192.168.1.5 | 10.0.0.5 |
| workstation2 | 192.168.1.6 | 10.0.0.6 |

### Initial Setup

1. Install CentOS 7 from the media image.  Create a user devops as an administrator.
2. Add the EPEL and update: 

 ```bash
yum install -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum update -y
yum upgrade -y
```

3. Install MATE Desktop: `yum groupinstall "MATE Desktop"`
4. Reboot and log back in using MATE
5. Using `visudo` allow devops user to sudo without password: `devops ALL=(ALL) NOPASSWD: ALL`
6. Set security policies as root:

 ```bash
sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/sysconfig/selinux
systemctl stop iptables.service
{'fraction_non_alphanumeric': 0.14218233349078885, 'fraction_numerical': 0.0406235238545111, 'mean_word_length': 3.4033264033264032, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, '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': '3969544', 'n_tokens_mistral': 803, 'n_tokens_neox': 733, 'n_words': 244}