1
0
mirror of https://github.com/rancher/os.git synced 2025-07-13 22:54:03 +00:00
os/images/02-console/prebuild.sh

16 lines
246 B
Bash
Raw Normal View History

2016-05-06 17:12:09 +00:00
#!/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