1
0
mirror of https://github.com/rancher/os.git synced 2025-09-05 16:52:20 +00:00

Add operator

This commit is contained in:
Darren Shepherd
2021-10-20 10:58:54 -07:00
parent 0e46d19194
commit 5675644d9f
60 changed files with 5387 additions and 60 deletions

View File

@@ -1,12 +1,12 @@
#!/bin/bash
set -x -e
HOST_DIR="${HOST_DIR:-/host}"
RELEASE_FILE="${RELEASE_FILE:-/etc/os-release}"
RELEASE_FILE="${RELEASE_FILE:-/usr/lib/rancheros-release}"
if [ "$FORCE" != "true" ]; then
if diff $RELEASE_FILE ${HOST_DIR}${RELEASE_FILE} >/dev/null; then
echo Update to date with
cat /etc/os-release
cat ${RELEASE_FILE}
exit 0
fi
fi