2021 tuto

This commit is contained in:
nemunaire 2021-09-11 14:41:43 +02:00
commit c4bb727cd4
29 changed files with 422 additions and 257 deletions

View file

@ -7,8 +7,9 @@ Exemples
```
42sh$ ./mymoulette -h
MyMoulette, the students' nightmare, now highly secured
Usage: ./mymoulette [-v student_workdir] environment moulette_prog [moulette_arg [...]]
environment is the path to the directory containing the new rootfs
Usage: ./mymoulette [-v student_workdir] <-I docker-img|rootfs-path> moulette_prog [moulette_arg [...]]
rootfs-path is the path to the directory containing the new rootfs (exclusive with -I option)
docker-img is an image available on hub.docker.com (exclusive with rootfs-path)
moulette_prog will be the first program to be launched, must already be in the environment
student_workdir is the directory containing the code to grade
```
@ -44,7 +45,7 @@ rtt min/avg/max/mdev = 3.789/3.847/3.906/0.085 ms
<div lang="en-US">
```
42sh$ ./mymoulette ./newrootfs/ /usr/bin/curl http://www.linuxcontainers.org/ | md5sum
c7d68d1cb4737125a84cd69f55add202
79c12c02c8a08b4ec3fe219f97df8e78
```
</div>