support default override with ENV var on command line
This commit is contained in:
parent
ff8ce569c7
commit
866f7be0a0
@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
ROCKY_FLAVOR=$1
|
||||
ROCKY_VERSION=8.5
|
||||
ROCKY_ARCH=x86_64
|
||||
ROCKY_PACKAGE_SET=minimal
|
||||
ROCKY_FLAVOR="${ROCKY_FLAVOR:-boot-iso}"
|
||||
ROCKY_VERSION="${ROCKY_VERSION:-8.6}"
|
||||
ROCKY_ARCH="${ROCKY_ARCH:=x86_64}"
|
||||
ROCKY_PACKAGE_SET="${ROCKY_PACKAGE_SET:=minimal}"
|
||||
BUILD_PREFIX="${ROCKY_VERSION}_${ROCKY_FLAVOR}"
|
||||
BUILD_NAME="${BUILD_PREFIX}_$(date +%Y%m%d.%H%M%S).0"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user