From d402a2ea9313de3bcaf93cab89115f909ad7c769 Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Thu, 24 Sep 2020 17:00:52 +0200 Subject: [PATCH] Add tailhist --- slides/containers/Training_Environment.md | 18 ++++++++++++++++++ slides/shared/connecting.md | 20 ++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/slides/containers/Training_Environment.md b/slides/containers/Training_Environment.md index 02839fa7..6732c2fd 100644 --- a/slides/containers/Training_Environment.md +++ b/slides/containers/Training_Environment.md @@ -95,6 +95,24 @@ $ ssh @ --- +class: in-person + +## `tailhist` + +The shell history of the instructor is available online in real time. + +Note the IP address of the instructor's virtual machine (A.B.C.D). + +Open http://A.B.C.D:1088 in your browser and you should see the history. + +The history is updated in real time (using a WebSocket connection). + +It should be green when the WebSocket is connected. + +If it turns red, reloading the page should fix it. + +--- + ## Checking your Virtual Machine Once logged in, make sure that you can run a basic Docker command: diff --git a/slides/shared/connecting.md b/slides/shared/connecting.md index eb40ec6d..b3258aef 100644 --- a/slides/shared/connecting.md +++ b/slides/shared/connecting.md @@ -34,6 +34,26 @@ If anything goes wrong — ask for help! --- +class: in-person + +## `tailhist` + +- The shell history of the instructor is available online in real time + +- Note the IP address of the instructor's virtual machine (A.B.C.D) + +- Open http://A.B.C.D:1088 in your browser and you should see the history + +- The history is updated in real time + + (using a WebSocket connection) + +- It should be green when the WebSocket is connected + + (if it turns red, reloading the page should fix it) + +--- + ## Doing or re-doing the workshop on your own? - Use something like