A variational principle for a cold plasma, formulated by Taylor (1974), minimizes the magnetic energy of a cylindrical plasma confined by a infinitely conducting metal wall, subject to the constraints of constant longitudinal flux and magnetic helicity. The paper extends this minimum energy principle to the case of a vacuum layer separating the plasma from the wall. The ensuing shift of the F-I-curve is in qualitative agreement with the experiments.