1
0
mirror of https://github.com/rancher/os.git synced 2025-07-13 06:34:04 +00:00
os/images/02-console/prebuild.sh
2016-05-06 10:58:54 -07:00

16 lines
246 B
Bash
Executable File

#!/bin/bash
set -e
VERSION=${VERSION:?"VERSION not set"}
cd $(dirname $0)
rm -rf ./build
mkdir -p ./build
cat > ./build/lsb-release << EOF
DISTRIB_ID=${DISTRIB_ID}
DISTRIB_RELEASE=${VERSION}
DISTRIB_DESCRIPTION="${DISTRIB_ID} ${VERSION}"
EOF