]>
us-delaporte.pagekite.me Git - dotfiles.git/blob - invoke/luanti-remote/tasks.py
1 from invoke
import task
4 IP
=os
.environ
.get('LUANTI_IP')
5 USER
=os
.environ
.get('LUANTI_USER')
6 HOME
=os
.environ
.get('LUANTI_HOME')
8 SERVE
=f
'{HOME}/luanti/bin/luantiserver --gameid minetest --worldname world'
11 c
.run(f
"librefox {url}")
15 print(f
"Attempting to connect to {IP}")
16 c
.run(f
'ssh {USER}@{IP} -C {SERVE}')
20 browse(c
, 'https://console.kamatera.com/cli')