From 0235a734e417df8157ce3acaffd4428009e75a96 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 18 Oct 2023 00:22:42 +0900 Subject: [PATCH] Fix python shebang The current shebang requires /usr/bin/python which is not available in Ubuntu Jammy by default. Change-Id: I142472eb20591fc752db9ca06c954d362cd3e405 --- heat-config-ansible/install.d/hook-ansible.py | 2 +- heat-config-apply-config/install.d/hook-apply-config.py | 2 +- heat-config-cfn-init/install.d/hook-cfn-init.py | 2 +- heat-config-chef/install.d/hook-chef.py | 2 +- heat-config-docker-cmd/install.d/hook-docker-cmd.py | 2 +- .../os-refresh-config/configure.d/50-heat-config-docker-cmd | 2 +- heat-config-docker-compose/install.d/hook-docker-compose.py | 2 +- .../os-refresh-config/configure.d/50-heat-config-docker-compose | 2 +- heat-config-hiera/install.d/hook-hiera.py | 2 +- heat-config-json-file/install.d/hook-json-file.py | 2 +- heat-config-kubelet/install.d/hook-kubelet.py | 2 +- .../os-refresh-config/configure.d/50-heat-config-kubelet | 2 +- heat-config-puppet/install.d/hook-puppet.py | 2 +- heat-config-salt/install.d/hook-salt.py | 2 +- heat-config-script/install.d/hook-script.py | 2 +- heat-config/bin/heat-config-notify | 2 +- heat-config/os-refresh-config/configure.d/55-heat-config | 2 +- tests/config-tool-fake.py | 2 +- tests/hook-fake-raises.py | 2 +- tests/hook-fake.py | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/heat-config-ansible/install.d/hook-ansible.py b/heat-config-ansible/install.d/hook-ansible.py index 26b3be9..a2a78e3 100755 --- a/heat-config-ansible/install.d/hook-ansible.py +++ b/heat-config-ansible/install.d/hook-ansible.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-apply-config/install.d/hook-apply-config.py b/heat-config-apply-config/install.d/hook-apply-config.py index 8e4230c..f82a619 100755 --- a/heat-config-apply-config/install.d/hook-apply-config.py +++ b/heat-config-apply-config/install.d/hook-apply-config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-cfn-init/install.d/hook-cfn-init.py b/heat-config-cfn-init/install.d/hook-cfn-init.py index 7aa1a9c..d1531e6 100755 --- a/heat-config-cfn-init/install.d/hook-cfn-init.py +++ b/heat-config-cfn-init/install.d/hook-cfn-init.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-chef/install.d/hook-chef.py b/heat-config-chef/install.d/hook-chef.py index baeae3f..70e4b33 100755 --- a/heat-config-chef/install.d/hook-chef.py +++ b/heat-config-chef/install.d/hook-chef.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-docker-cmd/install.d/hook-docker-cmd.py b/heat-config-docker-cmd/install.d/hook-docker-cmd.py index 4fb0c54..84ab71f 100755 --- a/heat-config-docker-cmd/install.d/hook-docker-cmd.py +++ b/heat-config-docker-cmd/install.d/hook-docker-cmd.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-docker-cmd/os-refresh-config/configure.d/50-heat-config-docker-cmd b/heat-config-docker-cmd/os-refresh-config/configure.d/50-heat-config-docker-cmd index fcb5e05..c444886 100755 --- a/heat-config-docker-cmd/os-refresh-config/configure.d/50-heat-config-docker-cmd +++ b/heat-config-docker-cmd/os-refresh-config/configure.d/50-heat-config-docker-cmd @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-docker-compose/install.d/hook-docker-compose.py b/heat-config-docker-compose/install.d/hook-docker-compose.py index d7472fe..91d586a 100755 --- a/heat-config-docker-compose/install.d/hook-docker-compose.py +++ b/heat-config-docker-compose/install.d/hook-docker-compose.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-docker-compose/os-refresh-config/configure.d/50-heat-config-docker-compose b/heat-config-docker-compose/os-refresh-config/configure.d/50-heat-config-docker-compose index 91778cf..b2c1c63 100755 --- a/heat-config-docker-compose/os-refresh-config/configure.d/50-heat-config-docker-compose +++ b/heat-config-docker-compose/os-refresh-config/configure.d/50-heat-config-docker-compose @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-hiera/install.d/hook-hiera.py b/heat-config-hiera/install.d/hook-hiera.py index a0c30af..87ea4d0 100755 --- a/heat-config-hiera/install.d/hook-hiera.py +++ b/heat-config-hiera/install.d/hook-hiera.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-json-file/install.d/hook-json-file.py b/heat-config-json-file/install.d/hook-json-file.py index 22fa2e7..7b69744 100755 --- a/heat-config-json-file/install.d/hook-json-file.py +++ b/heat-config-json-file/install.d/hook-json-file.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-kubelet/install.d/hook-kubelet.py b/heat-config-kubelet/install.d/hook-kubelet.py index 6634545..bd13166 100755 --- a/heat-config-kubelet/install.d/hook-kubelet.py +++ b/heat-config-kubelet/install.d/hook-kubelet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-kubelet/os-refresh-config/configure.d/50-heat-config-kubelet b/heat-config-kubelet/os-refresh-config/configure.d/50-heat-config-kubelet index ed9bfdf..dd446a1 100755 --- a/heat-config-kubelet/os-refresh-config/configure.d/50-heat-config-kubelet +++ b/heat-config-kubelet/os-refresh-config/configure.d/50-heat-config-kubelet @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-puppet/install.d/hook-puppet.py b/heat-config-puppet/install.d/hook-puppet.py index eefdf42..f1274e2 100755 --- a/heat-config-puppet/install.d/hook-puppet.py +++ b/heat-config-puppet/install.d/hook-puppet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-salt/install.d/hook-salt.py b/heat-config-salt/install.d/hook-salt.py index 14a8611..81e4815 100755 --- a/heat-config-salt/install.d/hook-salt.py +++ b/heat-config-salt/install.d/hook-salt.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config-script/install.d/hook-script.py b/heat-config-script/install.d/hook-script.py index ed918c7..133720c 100755 --- a/heat-config-script/install.d/hook-script.py +++ b/heat-config-script/install.d/hook-script.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config/bin/heat-config-notify b/heat-config/bin/heat-config-notify index 7e19f47..075837a 100755 --- a/heat-config/bin/heat-config-notify +++ b/heat-config/bin/heat-config-notify @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/heat-config/os-refresh-config/configure.d/55-heat-config b/heat-config/os-refresh-config/configure.d/55-heat-config index 5819f88..c151797 100755 --- a/heat-config/os-refresh-config/configure.d/55-heat-config +++ b/heat-config/os-refresh-config/configure.d/55-heat-config @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/tests/config-tool-fake.py b/tests/config-tool-fake.py index 88f218b..04df185 100755 --- a/tests/config-tool-fake.py +++ b/tests/config-tool-fake.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/tests/hook-fake-raises.py b/tests/hook-fake-raises.py index 902b103..1b81f05 100755 --- a/tests/hook-fake-raises.py +++ b/tests/hook-fake-raises.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/tests/hook-fake.py b/tests/hook-fake.py index 4b1de5d..4f8d5cf 100755 --- a/tests/hook-fake.py +++ b/tests/hook-fake.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain