Skip to content

Commit

Permalink
updating /etc/os-release
Browse files Browse the repository at this point in the history
  • Loading branch information
stv0g committed Oct 27, 2021
1 parent 6fd3de6 commit 977a089
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ See: https://riasc.eu/docs/setup/agent/manual

## Credits

- [Steffen Vogel](https://github.com/stv0g) [📧](mailto:[email protected])
- [Steffen Vogel](https://github.com/stv0g) [📧](mailto:[email protected]), [Institute for Automation of Complex Power Systems](https://www.acs.eonerc.rwth-aachen.de), [RWTH Aachen University](https://www.rwth-aachen.de)

### Funding acknowledment

Expand Down
5 changes: 5 additions & 0 deletions rpi/create_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 977a089

Please sign in to comment.