I have a new server attached to a SAN that is running log shipping that will be replaced. I have the following list to complete this an wonder if I am wrong or missing anything

1. Stop log shipping on primary
2. let last restores complete on failover server
3. Backup master and msdb on primary
4. Detach databases
5. Replace primary with new server and attach to SAN (server will have same name and IP as former server)
6.Bring up new sql server
7.restore master and msdb
8.restart log shipping

My question is mainly on if I do a restore of the master and msdb, do I need to reatach the databases first?