Framawiki added a comment.

A possible solution:

framawiki@tools-bastion-02:~$ hostname -d
tools.eqiad.wmflabs

This command return the same thing for user bastion, tool bastion, executive host


tools.framabot@tools-bastion-02:~$ python
Python 2.7.6 (default, Oct 26 2016, 20:30:19) 
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> print(socket.gethostname())
tools-bastion-02
..
>>> os.uname()
('Linux', 'tools-bastion-02', '3.13.0-100-generic', '#147-Ubuntu SMP Tue Oct 18 16:48:51 UTC 2016', 'x86_64')

TASK DETAIL
https://phabricator.wikimedia.org/T113193

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Framawiki
Cc: Framawiki, Aklapper, pywikibot-bugs-list, jayvdb, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to