Skip to content

Commit

Permalink
For musl/non-dracut compat, change default hostid to non-zero value
Browse files Browse the repository at this point in the history
  • Loading branch information
zdykstra committed Mar 30, 2021
1 parent 31a03b1 commit c759df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 90zfsbootmenu/zfsbootmenu-countdown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ if [ -n "${spl_hostid}" ] ; then
write_hostid "${spl_hostid}"
elif [ ! -e /etc/hostid ]; then
zinfo "no hostid found on kernel command line or /etc/hostid"
zinfo "defaulting hostid to 00000000"
write_hostid 0
zinfo "defaulting hostid to 00bab10c"
write_hostid 00bab10c
fi

# Prefer a specific pool when checking for a bootfs value
Expand Down

0 comments on commit c759df9

Please sign in to comment.