summaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/fah_setup.sh
blob: 2e053b39665ef89069e608cdb2cb093edc22dc0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

# This script is called by packer on the subject fah VM, to setup the podman
# build/test environment.  It's not intended to be used outside of this context.

set -e

# Load in library (copied by packer, before this script was run)
source /tmp/libpod/$SCRIPT_BASE/lib.sh

req_env_var "
SCRIPT_BASE $SCRIPT_BASE
"

install_ooe

ooe.sh sudo atomic host upgrade

ooe.sh sudo rpm-ostree uninstall cloud-init

rh_finalize

echo "SUCCESS!"