Skip to content

Commit 767a393

Browse files
committed
Need squashfs module available for singularity
Signed-off-by: Anders F Björklund <[email protected]>
1 parent d87e89f commit 767a393

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/singularity.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ containerd:
1919
system: false
2020
user: false
2121
provision:
22+
- mode: system
23+
script: |
24+
#!/bin/bash
25+
set -eux -o pipefail
26+
modprobe squashfs >/dev/null 2>&1 && exit 0
27+
dnf install -y kernel-modules-$(uname -r)
2228
- mode: system
2329
script: |
2430
#!/bin/bash

0 commit comments

Comments
 (0)