Keep public_mode value in sync with the previous installer