Skip to content

Commit 0d710b1

Browse files
authored
Merge pull request #3823 from afbjorklund/modprobe-missing
Skip loading modules if modprobe is missing
2 parents 7a1dbc8 + 4510504 commit 0d710b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/cidata/cidata.TEMPLATE.d/boot/00-modprobe.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# Because Arch Linux removes kernel module files when the kernel package was updated during running cloud-init :(
88

99
set -eu
10+
11+
command -v modprobe >/dev/null 2>&1 || exit 0
12+
1013
for f in \
1114
fuse \
1215
tun tap \

0 commit comments

Comments
 (0)