While trying to install the agent to one of our servers running vanilla CoreOS stable (633.1.0), we’ve encountered some issues.
We tried following this document:
In Copy program files we’ve encountered the following issue:
cp -f newrelic-sysmond-126.96.36.199-linux/daemon/nrsysmond.x64 /usr/local/sbin/nrsysmond
cp: cannot create regular file ‘/usr/local/sbin/nrsysmond’: Read-only file system
Seems that /usr/ is read-only by default (see here: https://coreos.com/blog/new-filesystem-btrfs-cloud-config/).
One solution would be to automate everything during installation of CoreOS by modifying the cloud-config file. In another thread we can read about users following this path, but all our attempts were not successful:
We’d love to get this working on CoreOS, and we will continue experimenting and updating this thread as we gain more insight on how to set everything up properly.