KasmVNC/builder/os_ver_cli.sh

16 lines
363 B
Bash
Raw Normal View History

#!/bin/bash
2022-08-19 19:54:11 +02:00
default_os=${default_os:-ubuntu}
default_os_codename=${default_os_codename:-bionic}
os=${1:-$default_os}
os_codename=${2:-$default_os_codename}
2022-08-19 19:54:11 +02:00
build_tag="$3"
if [[ -n "$build_tag" ]]; then
build_tag_for_images="_${build_tag#+}"
build_debian_revision="$(echo $build_tag | tr _ -)"
fi
os_image="$os:$os_codename"
echo "Building for $os_image"