Deconfinement Transition In Equilibrium Lattice Gauge Theory With Realistic Boundary Conditions