Merge "Add option to set chap algorithms for iscsid for FIPS"

This commit is contained in:
Zuul 2021-12-30 10:28:57 +00:00 committed by Gerrit Code Review
commit 98df253eae

View File

@ -315,6 +315,10 @@ EOF
sudo systemctl daemon-reload
fi
# set chap algorithms. The default chap_algorithm is md5 which will
# not work under FIPS
iniset -sudo /etc/iscsi/iscsid.conf DEFAULT "node.session.auth.chap_algs" "SHA3-256,SHA256"
# ensure that iscsid is started, even when disabled by default
restart_service iscsid
fi