Skip to content

Commit c759df9

Browse files
committed
For musl/non-dracut compat, change default hostid to non-zero value
1 parent 31a03b1 commit c759df9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

90zfsbootmenu/zfsbootmenu-countdown.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ if [ -n "${spl_hostid}" ] ; then
2222
write_hostid "${spl_hostid}"
2323
elif [ ! -e /etc/hostid ]; then
2424
zinfo "no hostid found on kernel command line or /etc/hostid"
25-
zinfo "defaulting hostid to 00000000"
26-
write_hostid 0
25+
zinfo "defaulting hostid to 00bab10c"
26+
write_hostid 00bab10c
2727
fi
2828

2929
# Prefer a specific pool when checking for a bootfs value

0 commit comments

Comments
 (0)