jmpsec / osctrl

Fast and efficient osquery management
https://osctrl.net
MIT License
394 stars 51 forks source link

Install golang depending on architecture #437

Closed javuto closed 6 months ago

javuto commented 6 months ago

When using the provision.sh to provision a brand new server, it could fail for ARM due to downloading the wrong golang installer.

This was the error seen:

line 412: /usr/local/go/bin/go: cannot execute binary file: Exec format error