
This script should be set -e. Also added -ux for good measure. On RHEL, os-refresh-config was failing to run due to a missing requirements.txt line on argparse (separate patch), however the failure was not failing the image build b/c this script was not -e. Change-Id: Id36d61442d8104cada8346f47e63858cf7f08096
8 lines
157 B
Bash
Executable File
8 lines
157 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eux
|
|
|
|
SCRIPT_BASE=$(os-refresh-config --print-base)
|
|
SCRIPT_SOURCE=$(dirname $0)/../os-refresh-config
|
|
rsync -r $SCRIPT_SOURCE/ $SCRIPT_BASE/
|