Skip to content

Commit 9c6bd9a

Browse files
authored
Merge pull request #886 from afbjorklund/singularity-squashfs
Need squashfs kernel module installed for singularity
2 parents 92a6572 + 767a393 commit 9c6bd9a

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)