aboutsummaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/fah_setup.sh
blob: 18c4db0af5554af2f6a631da2484ea2539f9231d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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

install_ooe

ooe.sh sudo atomic host upgrade

ooe.sh sudo rpm-ostree uninstall cloud-init

rh_finalize

echo "SUCCESS!"