Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CON-3314 Improve deep-in-system audit for macOS students #2828

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions subjects/devops/deep-in-system/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,12 @@ You must export your VM to a safe place, you will need it in the audit.
You will use your exported VM to run a new VM for each audit.
Push the shasum of your exported VM, you can get it this way:

Example:

```console
user:~$ sha1sum deep-in-system.ova > deep-in-system.sha1
user:~$ sha1sum {exported deep-in-system} > deep-in-system.sha1
user:~$ cat deep-in-system.sha1 | cat -e
<...>255bfef9560<...> deep-in-system.ova$
<...>255bfef9560<...> {exported deep-in-system}$
user:~$
```

Expand Down
20 changes: 12 additions & 8 deletions subjects/devops/deep-in-system/audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ Files that must be inside the repository:

##### Verify that the virtual machine that will be audited is the one that is submitted:

Example:

```console
user:~$ sha1sum deep-in-system.ova > deep-in-system-toaudit.sha1
user:~$ sha1sum {exported deep-in-system} > deep-in-system-toaudit.sha1
user:~$ diff deep-in-system.sha1 deep-in-system-toaudit.sha1 ; echo $?
0
user:~$
Expand Down Expand Up @@ -64,17 +66,19 @@ You can check the versions of the ubuntu server from here: [Get Ubuntu Server](h
Check the VM disk and partitions with this command:

```console
user:~$ lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT /dev/sda
user:~$ lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT /dev/{device_name}
NAME FSTYPE SIZE MOUNTPOINT
sda 30G
├─sda<...> 1M
├─sda<...> swap 4G [SWAP]
├─sda<...> ext4 15G /
├─sda<...> ext4 5G /home
└─sda<...> ext4 6G /backup
{device_name} 30G
├─{device_name}<...> 1M
├─{device_name}<...> swap 4G [SWAP]
├─{device_name}<...> ext4 15G /
├─{device_name}<...> ext4 5G /home
└─{device_name}<...> ext4 6G /backup
user:~$
```

> It's fine if the output format is different, but the values should be the same.

- The VM disk size must be 30GB.

- VM disk must be divided into these partitions:
Expand Down
Loading