Skip to content

Commit 5853dd0

Browse files
committed
fix image indenting
1 parent 6d649ac commit 5853dd0

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

articles/modeling-simulation-workbench/tutorial-install-slurm.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,18 @@ Slurm installation requires that you have a technical inventory of the compute n
8686
Configuring Slurm requires an inventory of nodes. From the controller node:
8787

8888
1. Open a terminal in your desktop by selecting the terminal icon from the menu bar at the top.
89-
:::image type="content" source="media/tutorial-slurm/open-terminal.png" alt-text="Screenshot of desktop with terminal button highlighted in red.":::
89+
:::image type="content" source="media/tutorial-slurm/open-terminal.png" alt-text="Screenshot of desktop with terminal button highlighted in red.":::
90+
9091
1. Execute the following commands to print a list of all VMs in the chamber. In this example, we have one controller and five nodes. The command prints the IP addresses in the first column and the hostnames in the second. From the naming, you can see the controller node and the compute nodes.
9192

9293
```bash
93-
$ ip=$(hostname -i | cut -d'.' -f1-3)
94-
$ for i in {1..254}; do host "$ip.$i" | grep -v "not found" | awk -F'[. ]' '{print $4"."$3"."$2"."$1" "$10}'; done
94+
ip=$(hostname -i | cut -d'.' -f1-3)
95+
for i in {1..254}; do host "$ip.$i" | grep -v "not found" | awk -F'[. ]' '{print $4"."$3"."$2"."$1" "$10}'; done
96+
```
97+
98+
Your output will be similar to:
99+
100+
```bash
95101
10.163.4.4 wrkldvmslurmcont29085dd
96102
10.163.4.5 wrkldvmslurm-nod0aef63d
97103
10.163.4.6 wrkldvmslurm-nod10870ad

0 commit comments

Comments
 (0)