Modifying Environment Variables
How to modify environment variables in AuterionOS
Environment variables of AuterionOS can be modified when creating a new AuterionOS image. To change or add environment variables, edit the files in
aepx4-developer-tools-2.x.x/config/auterion_os.env
. In order to apply changes of the environment variables AuterionOS needs to be repackaged and deployd to Skynode. To package these into your own AuterionOS image, run the
make
command below:make package-update version=my-version artifactPath=<AEPX4 Release>.auterionos
It is possible to temporarily overwrite the environment variables directly on Skynode for testing purposes. To do so, SSH into Skynode and create the file
/data/override.env.
In there add the environment variables you wish to override. An example is shown below:/data/override.env
AP_CONFIGURE_ETHERNET_IP=192.168.1.10
AP_CONFIGURE_ETHERNET_IP_PREFIX=24
RESINCONF_LINK_GCS=192.168.1.100
There is no guarantee that the file will persist after updating the Skynode, so do not treat it as a permanent method.