Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document location.txt format #34

Open
tripleee opened this issue Apr 20, 2020 · 1 comment
Open

Document location.txt format #34

tripleee opened this issue Apr 20, 2020 · 1 comment

Comments

@tripleee
Copy link
Collaborator

I get an error message that my location.txt is not valid, but I can't find any documentation to suggest what it should contain or how it ought to be formatted.

Looking at the source code, it seems that the file should have exactly two non-blank lines. Why is that? What should they contain?

I would have expected a single line to be acceptable, and simply be used verbatim.

@double-fault
Copy link
Member

I've inspected the files of old bots on my computer, and looks like the first line is the user, while the second line is the name of the instance. Why it's so, ... well ... I don't really remember. If you'd want it to be changed to a single line, I can do that sometime later, should be a simple fix (IIRC).

So, just to be clear, currently, if you have an instance with location tripleee/EC2, your location.txt should be something like

tripleee
EC2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants