Added core commands for ESR

This commit is contained in:
Afonso Franco 2023-09-21 14:25:26 +01:00
parent ebb503f952
commit 8974de23ae
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys

View file

@ -8,3 +8,17 @@ end
function restore --argument file function restore --argument file
mv $file (echo $file | sed s/.bak//) mv $file (echo $file | sed s/.bak//)
end end
function core
xhost +local:root
sudo docker exec -it core core-gui
end
function core-bash
sudo docker exec -it core /bin/bash
end
function launch-term --argument nodename
sudo docker exec -it core xterm -bg black -fg white -fa 'DejaVu Sans Mono' -fs 16 -e vcmd -c /tmp/pycore.1/$nodename -- /bin/bash
end