-
Story
-
Resolution: Can't Do
-
Major
-
DO280 - OSE 3.0 1 20151019
-
None
-
ILT
-
en-US (English)
URL:
Reporter RHNID:
Section: -
Language: en-US (English)
Workaround:
Description: Instead of pushing the json files to all nodes, place sample files on classroom ie http://classroom.example.com/materials/JSON/<filename>.json
Have student download the sample with wget to the correct node.
Then view/edit as needed. This is a much more realistic internet connected solutions (find a sample online and download/modify).
This also streamlines commands when the file is used again in a later lab such as the comp review. You should not need a separate directory for each lab. The sample (really a template) can than be used for the three (or more) pv and pvc creates for example.
Samples/templates can be closer to the final than what is found in the various guides and since copy/paste from the pdf files is difficult as best, I do recommend having the samples.
Students will learn much more by modifying sample json files rather than just reviewing solutions and running the create script.
Additional options: also include a subdir with the samples called solutions that have the json files already modified (expect podX entries). While I would leave this on classroom, it could also be pushed to workstation with the podX changed as well to be a true solution for each student.
Another example of the use of materials is RH270 (Atomic Host) Unit 6 which uses curl -O commands (wget is still preferred - the O is easily mixed up with a zero and so wget is a cleaner choice) to get yaml templates from http://classroom.example.com/materials/templates/<filename>
(also in Unit 5, images are downloaded from http://classroom.example.com/materials/docker-images/<filename>