Skip to content

Commit e3c2684

Browse files
committed
Update resource-hook.md
1 parent 4b24da8 commit e3c2684

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/software/container-engine/resource-hook.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ This can be done in multiple ways in TOML: for example, both of the following us
3535

3636
```bash title="Valid"
3737
[annotations.com.hooks.ssh]
38-
authorize_ssh_key = "/capstor/scratch/cscs/<username>/tests/edf/authorized_keys"
38+
authorize_ssh_key = "${SCRATCH}/tests/edf/authorized_keys"
3939
enabled = "true"
4040
```
4141

4242
```bash title="Valid"
4343
[annotations]
44-
com.hooks.ssh.authorize_ssh_key = "/capstor/scratch/cscs/<username>/tests/edf/authorized_keys"
44+
com.hooks.ssh.authorize_ssh_key = "${SCRATCH}/tests/edf/authorized_keys"
4545
com.hooks.ssh.enabled = "true"
4646
```
4747

4848
```bash title="Invalid"
4949
[annotations]
50-
com.hooks.ssh.authorize_ssh_key = "/capstor/scratch/cscs/<username>/tests/edf/authorized_keys"
50+
com.hooks.ssh.authorize_ssh_key = "${SCRATCH}/tests/edf/authorized_keys"
5151

5252
[annotations.com.hooks.ssh]
5353
enabled = "true"

0 commit comments

Comments
 (0)