Steps before and after an OS reimage.