Difference between revisions of "Script variables"

From Amahi Wiki
Jump to: navigation, search
Line 7: Line 7:
 
* HDA_APP_USERNAME: admin username (if available, otherwise undefined)
 
* HDA_APP_USERNAME: admin username (if available, otherwise undefined)
 
* HDA_APP_PASSWORD: admin password (if available, otherwise undefined)
 
* HDA_APP_PASSWORD: admin password (if available, otherwise undefined)
 +
* HDA_1ST_ADMIN: username of the 1st admin user

Revision as of 21:14, 5 August 2012

Environment variables needed in scripts:

  • HDA_APP_DIR: Directory of the webapp (basically, PWD)
  • HDA_IP: the internal IP of the HDA
  • HDA_APP_NAME: App name
  • HDA_DOMAIN: internal domain of this HDA
  • HDA_APP_USERNAME: admin username (if available, otherwise undefined)
  • HDA_APP_PASSWORD: admin password (if available, otherwise undefined)
  • HDA_1ST_ADMIN: username of the 1st admin user