The dialogue spoken by the B-52 aircrew for arming the bomb is almost identical, word for word, to the dialogue for arming the bomb on Major Kong's B-52 in the film Dr. Strangelove.
There are numerous homages to Stanley Kubrick films in this two parter, most obvious are 2001 and Dr. Strangelove. And quite possibly Paths of Glory with the minefield scene.