diff --git a/bootstrap/main.py b/bootstrap/main.py index 951bf6d53..43c4bf3f9 100755 --- a/bootstrap/main.py +++ b/bootstrap/main.py @@ -9,7 +9,9 @@ if __name__ == "__main__": + version = os.environ.get("GIT_DESCRIBE_TAGS", None) logger.add("/var/logs/blueos/services/bootstrap/bootstrap_{time}.log", enqueue=True, rotation="30 minutes") + logger.info(f"Running BlueOS Bootstrap {version}") if os.environ.get("BLUEOS_CONFIG_PATH", None) is None: logger.info("Please supply the host path for the config files as the BLUEOS_CONFIG_PATH environment variable.") logger.info("Example docker command line:") diff --git a/core/start-blueos-core b/core/start-blueos-core index 33391da1c..c65f47751 100755 --- a/core/start-blueos-core +++ b/core/start-blueos-core @@ -3,6 +3,8 @@ # Immediately exit on errors set -e +echo "BlueOS ${GIT_DESCRIBE_TAGS}" + BLUEOS_PATH=/home/pi SERVICES_PATH=$BLUEOS_PATH/services TOOLS_PATH=$BLUEOS_PATH/tools