<commit_before>---
layout: post
title: "TripleO - Deployment configurations"
author: "<NAME>"
categories:
  - blog
tags:
  - tripleo
  - openstack
favorite: true
commentIssueId: 57
---


![](/static/dude-just-deploy-it-already.jpg)

This post is a summary of the deployments I ussualy test.
The ussual steps are:

__01 - Create the toor user.__

```
sudo useradd toor
echo "toor:toor" | sudo chpasswd
echo "toor ALL=(root) NOPASSWD:ALL" \
  | sudo tee -a /etc/sudoers.d/toor
sudo chmod 0440 /etc/sudoers.d/toor
sudo su - toor
```

__02 - Prepare the hypervisor node.__


```
# Disable IPv6 lookups
sudo bash -c "cat >> /etc/sysctl.conf" << EOL
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
EOL

sudo sysctl -p

cd
mkdir .ssh
ssh-keygen -t rsa -N "" -f .ssh/id_rsa
cat .ssh/id_rsa.pub >> .ssh/authorized_keys
sudo bash -c "cat .ssh/id_rsa.pub \
  >> /root/.ssh/authorized_keys"
sudo bash -c "echo '127.0.0.1 127.0.0.2' \
  >> /etc/hosts"
export VIRTHOST=127.0.0.2
sudo yum groupinstall "Virtualization Host" -y
sudo yum install git lvm2 lvm2-devel -y
ssh root@$VIRTHOST uname -a
```

__03 - Clone repos and install deps.__


```
git clone \
  https://github.com/openstack/tripleo-quickstart
chmod u+x ./tripleo-quickstart/quickstart.sh<commit_msg>update cmds<commit_after>---
layout: post
title: "TripleO - Deployment configurations"
author: "<NAME>"
categories:
  - blog
tags:
  - tripleo
  - openstack
favorite: true
commentIssueId: 57
---


![](/static/dude-just-deploy-it-already.jpg)

This post is a summary of the deployments I ussualy test.
The ussual steps are:

__01 - Create the toor user.__

```
sudo useradd toor
echo "toor:toor" | sudo chpasswd
echo "toor ALL=(root) NOPASSWD:ALL" \
  | sudo tee /etc/sudoers.d/toor
sudo chmod 0440 /etc/sudoers.d/toor
sudo su - toor
```

__02 - Prepare the hypervisor node.__


```
# Disable IPv6 lookups
sudo bash -c "cat >> /etc/sysctl.conf" << EOL
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
EOL

sudo sysctl -p

cd
mkdir .ssh
ssh-keygen -t rsa -N "" -f .ssh/id_rsa
cat .ssh/id_rsa.pub >> .ssh/authorized_keys
cat .ssh/id_rsa.pub | sudo tee -a /root/.ssh/authorized_keys
echo '127.0.0.1 127.0.0.2' | sudo tee -a /etc/hosts

export VIRTHOST=127.0.0.2
sudo yum groupinstall "Virtualization Host" -y
sudo yum install git lvm2 lvm2-devel -y
ssh root@$VIRTHOST uname -a
```

__03 - Clone repos and install deps.__


```
git clone \
  https://github.com/openstack/tripleo-quickstart
chmod u+x ./tripleo-quickstart/quickstart.sh
{'fraction_non_alphanumeric': 0.13568037974683544, 'fraction_numerical': 0.030854430379746837, 'mean_word_length': 3.383015597920277, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '5211374', 'n_tokens_mistral': 1120, 'n_tokens_neox': 1009, 'n_words': 277}