diff --git a/Makefile.am b/Makefile.am
index 3d300d671e623a6fabbd23b1dd29d0f0672d7b03..2729aeca1ac952cb9b3ff534403ee1bc35c9e468 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -626,7 +626,7 @@ $(REPLACE_VARS_SED): Makefile
 $(PYTHON_BOOTSTRAP): Makefile
 	set -e; \
 	module='$(subst -,_,$(notdir $@))'; \
-	{ echo "#!$(PYTHON)"; \
+	{ echo '#!/usr/bin/python'; \
 	  echo '# This file is automatically generated, do not edit!'; \
 	  echo "# Edit ganeti.client.$$module instead."; \
 	  echo; \