Variable shape molecular dynamics is formulated for the one-component plasma and the structural transition from the fcc lattice to the bcc lattice has been observed. It is emphasized that the condition of constant volume should be imposed when deformations of periodic boundary conditions are taken into account.