From d6e62950dd4ce8fa0ef001dca6082c0e7eacd04a Mon Sep 17 00:00:00 2001 From: Nisha Agarwal Date: Mon, 5 Jun 2017 17:29:52 +0000 Subject: [PATCH] Runs the script configure_vm.py in py3.5 Closes-Bug: 1695135 Change-Id: I672279969b0a7db90f4c616b197104bd59568b1e --- devstack/tools/ironic/scripts/create-node.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/tools/ironic/scripts/create-node.sh b/devstack/tools/ironic/scripts/create-node.sh index 8ce3f06897..55b25ceb75 100755 --- a/devstack/tools/ironic/scripts/create-node.sh +++ b/devstack/tools/ironic/scripts/create-node.sh @@ -112,7 +112,7 @@ if ! virsh list --all | grep -q $NAME; then if [[ -n "$EMULATOR" ]]; then vm_opts+="--emulator $EMULATOR " fi - $TOP_DIR/scripts/configure-vm.py \ + $PYTHON $TOP_DIR/scripts/configure-vm.py \ --bootdev network --name $NAME --image "$volume_path" \ --arch $ARCH --cpus $CPU --memory $MEM --libvirt-nic-driver $LIBVIRT_NIC_DRIVER \ --disk-format $DISK_FORMAT $VM_LOGGING --engine $ENGINE $UEFI_OPTS $vm_opts \