From 1e12bf8b23aa5d57e1d469066357fd7c15a5495e Mon Sep 17 00:00:00 2001
From: Ian Wienand <iwienand@redhat.com>
Date: Mon, 3 May 2021 16:32:46 +1000
Subject: [PATCH] bullseye: set python-path

This varaible makes it's way through to zuul and the
``ansible_python_interpreter`` variable in the inventory.  It seems
that autodetection on Bullseye currently tries to choose python2, so
this will override it.

Change-Id: Ieb6e1dc76ac90936eb64bdeb1bd409472bc20715
---
 nodepool/nodepool.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nodepool/nodepool.yaml b/nodepool/nodepool.yaml
index 49d295c0ac..d5ed6b4f94 100644
--- a/nodepool/nodepool.yaml
+++ b/nodepool/nodepool.yaml
@@ -235,6 +235,7 @@ diskimages:
       - debian-minimal
       - cache-devstack
     release: bullseye
+    python-path: /usr/bin/python3
     env-vars:
       DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/debian'
       DIB_DEBIAN_SECURITY_MIRROR: