Merge "Disable metadata_csum when creating ext4 filesystems" into stable/pike

This commit is contained in:
Zuul 2019-05-13 11:23:53 +00:00 committed by Gerrit Code Review
commit f0290de61a
1 changed files with 3 additions and 0 deletions

View File

@ -765,6 +765,9 @@ function install_ironic {
if is_drac_enabled; then
pip_install python-dracclient
fi
# Disable metadata_csum from ext4 as cirros can't mount partitions with it
[ -f /etc/mke2fs.conf ] && sudo sed -i -e 's/,metadata_csum//g' /etc/mke2fs.conf
}
# install_ironicclient() - Collect sources and prepare