Most U.S. military installations are vulnerable to long-term outages of the civilian electricity grid.