{"action":"created","issue":{"url":"https://api.github.com/repos/pterodactyl/Panel/issues/965","repository_url":"https://api.github.com/repos/pterodactyl/Panel","labels_url":"https://api.github.com/repos/pterodactyl/Panel/issues/965/labels{/name}","comments_url":"https://api.github.com/repos/pterodactyl/Panel/issues/965/comments","events_url":"https://api.github.com/repos/pterodactyl/Panel/issues/965/events","html_url":"https://github.com/pterodactyl/Panel/issues/965","id":298561964,"number":965,"title":"Variables in Install Script and entrypoint.sh","user":{"login":"GwtLabs","id":3123616,"avatar_url":"https://avatars2.githubusercontent.com/u/3123616?v=4","gravatar_id":"","url":"https://api.github.com/users/GwtLabs","html_url":"https://github.com/GwtLabs","followers_url":"https://api.github.com/users/GwtLabs/followers","following_url":"https://api.github.com/users/GwtLabs/following{/other_user}","gists_url":"https://api.github.com/users/GwtLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/GwtLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GwtLabs/subscriptions","organizations_url":"https://api.github.com/users/GwtLabs/orgs","repos_url":"https://api.github.com/users/GwtLabs/repos","events_url":"https://api.github.com/users/GwtLabs/events{/privacy}","received_events_url":"https://api.github.com/users/GwtLabs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-20T11:36:50Z","updated_at":"2018-02-20T21:13:12Z","closed_at":null,"author_association":"NONE","body":"* Panel or Daemon: Daemon\r\n* Version of Panel/Daemon: 0.5.1\r\n* Server's OS: Ubuntu 16.04.3 LTS\r\n* Your Computer's OS & Browser: Win10, Chrome\r\n* Version of Panel: 0.7.1\r\n\r\n## Add Details Below:\r\nThere is no access to environment variables (SERVER_PORT) in install script. There are only variables created additionally in panel. For example, Ts3 install script is not working properly. The default_voice_port and query_port is inserted using \"Configuration Files\", and not as if it indicated using the installation script.\r\n\r\nIs it possible to get into these all variables in entrypoint.sh?"},"comment":{"url":"https://api.github.com/repos/pterodactyl/Panel/issues/comments/367121224","html_url":"https://github.com/pterodactyl/Panel/issues/965#issuecomment-367121224","issue_url":"https://api.github.com/repos/pterodactyl/Panel/issues/965","id":367121224,"user":{"login":"GwtLabs","id":3123616,"avatar_url":"https://avatars2.githubusercontent.com/u/3123616?v=4","gravatar_id":"","url":"https://api.github.com/users/GwtLabs","html_url":"https://github.com/GwtLabs","followers_url":"https://api.github.com/users/GwtLabs/followers","following_url":"https://api.github.com/users/GwtLabs/following{/other_user}","gists_url":"https://api.github.com/users/GwtLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/GwtLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GwtLabs/subscriptions","organizations_url":"https://api.github.com/users/GwtLabs/orgs","repos_url":"https://api.github.com/users/GwtLabs/repos","events_url":"https://api.github.com/users/GwtLabs/events{/privacy}","received_events_url":"https://api.github.com/users/GwtLabs/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T21:13:12Z","updated_at":"2018-02-20T21:13:12Z","author_association":"NONE","body":"It does not work. For example, I made the installation script:\r\n`#!/bin/ash\r\ncd /mnt/server\r\necho 'TS_VERSION: '${TS_VERSION} >> variables.txt\r\necho 'SERVER_MEMORY: '${SERVER_MEMORY} >> variables.txt\r\necho 'SERVER_PORT: '${SERVER_PORT} >> variables.txt\r\necho 'SERVER_IP: '${SERVER_IP} >> variables.txt\r\n`\r\nI received in file variables.txt:\r\n`TS_VERSION: 3.0.13.8\r\nSERVER_MEMORY: \r\nSERVER_PORT: \r\nSERVER_IP: \r\n`"}}
{"actor":{"display_login":"GwtLabs"}}