The outcome of diazotization and semipinacol rearrangement of the amino-alcohol depends entirely on the diastereoisomer you start with.
There are four diastereoisomers each one with the t-butyl group equatorial, which locks the cyclohexane conformation. In all of these reactions, the OH group provides the electronic ‘push’ and the group which is anti–periplanar to the leaving group (–N2+) migrates.
Click the four diastereoisomers below to view each 3D animation respectively
P. Lewis, S. Middleton, M. Rosser and L. Stock, Aust. J. Chem., 1980, 33, 1049.
Z.-L. Song, C.-A. Fan and Y.-Q. Tu, Chem. Rev., 2011, 111, 7523–7556.