#!/bin/bash
set -eu -o pipefail
IFS=$'\t\n'

# Enable extra repositories
dnf install -q -y epel-release
dnf config-manager --set-enabled PowerTools

# Install Python3
dnf install -q -y python3

# Install Python packages
python3 -m pip install -r /vagrant/requirements.txt

# Add host keys to `known_hosts`
ssh-keyscan head >> ~/.ssh/known_hosts
#!/bin/bash
set -eu -o pipefail
IFS=$'\t\n'

# Enable extra repositories
dnf install -q -y epel-release
dnf config-manager --set-enabled PowerTools

# Install Python3
dnf install -q -y python3

# Install Python packages
python3 -m pip install -r /vagrant/requirements.txt

# Add host keys to `known_hosts`
mkdir -p ~/.ssh/
touch ~/.ssh/known_hosts
ssh-keyscan head >> ~/.ssh/known_hosts

Make sure root's ssh directory exists
Make sure root's ssh directory exists
