I have not had good luck with magnets.
It is not that they don't hold but they rust.
Even coated to protect them they seem to rust.
I use very small rubber bands to hold my sail on.
One wire hook on the sail and one on the hull.
It's what ever works best for you.