diff --git a/README.md b/README.md index 0c8c349..fcb55f1 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ See: https://riasc.eu/docs/setup/agent/manual ## Credits -- [Steffen Vogel](https://github.com/stv0g) [📧](mailto:post@steffenvogel.de) +- [Steffen Vogel](https://github.com/stv0g) [📧](mailto:post@steffenvogel.de), [Institute for Automation of Complex Power Systems](https://www.acs.eonerc.rwth-aachen.de), [RWTH Aachen University](https://www.rwth-aachen.de) ### Funding acknowledment diff --git a/rpi/create_image.sh b/rpi/create_image.sh index 470f3e1..b07826f 100644 --- a/rpi/create_image.sh +++ b/rpi/create_image.sh @@ -145,6 +145,11 @@ touch /boot/ssh echo "Setting hostname..." write /etc/hostname "${NODENAME}" +echo "Updating os-release" +write-append /etc/os-release "VARIANT=\"RIasC\"\n" +write-append /etc/os-release "BUILD_ID=\"$(date)\"\n" +write-append /etc/os-release "DOCUMENTATION_URL=\"https://riasc.eu\"\n" + echo "Enable systemd risac services..." ln-sf /etc/systemd/system/risac-update.service /etc/systemd/system/multi-user.target.wants/riasc-update.service ln-sf /etc/systemd/system/risac-set-hostname.service /etc/systemd/system/multi-user.target.wants/riasc-set-hostname.service