From 15d41af6d73efe004f5a855ad55111e50f087f1c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 18 Oct 2023 00:50:56 +0900 Subject: [PATCH] Fix python shebang The current shebang requires /usr/bin/python which is not available in Ubuntu Jammy by default. Change-Id: I3765d2b73843db0137fe79065ab4051e1e52eab3 --- doc/source/test-vrrp.rst | 2 +- os_ken/cmd/manager.py | 2 +- os_ken/cmd/of_config_cli.py | 2 +- os_ken/cmd/ofa_neutron_agent.py | 2 +- os_ken/cmd/rpc_cli.py | 2 +- os_ken/tests/integrated/run_tests_with_ovs12.py | 2 +- os_ken/tests/packet_data_generator3/gen.py | 2 +- os_ken/tests/switch/run_mininet.py | 2 +- tools/normalize_json.py | 2 +- tools/topology_graphviz.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/source/test-vrrp.rst b/doc/source/test-vrrp.rst index ad6fa006..46cac2d2 100644 --- a/doc/source/test-vrrp.rst +++ b/doc/source/test-vrrp.rst @@ -104,7 +104,7 @@ And then run OSKen-VRRP:: Here's the helper executable, os_ken-vrrp:: - #!/usr/bin/env python + #!/usr/bin/env python3 # # Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2013 Isaku Yamahata diff --git a/os_ken/cmd/manager.py b/os_ken/cmd/manager.py index 34717f1a..b2e35f1d 100755 --- a/os_ken/cmd/manager.py +++ b/os_ken/cmd/manager.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (C) 2011, 2012 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2011 Isaku Yamahata diff --git a/os_ken/cmd/of_config_cli.py b/os_ken/cmd/of_config_cli.py index 3ce256b7..a56d86f4 100755 --- a/os_ken/cmd/of_config_cli.py +++ b/os_ken/cmd/of_config_cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2013 YAMAMOTO Takashi diff --git a/os_ken/cmd/ofa_neutron_agent.py b/os_ken/cmd/ofa_neutron_agent.py index 6b3dfd16..c7ba0f2a 100755 --- a/os_ken/cmd/ofa_neutron_agent.py +++ b/os_ken/cmd/ofa_neutron_agent.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2014 VA Linux Systems Japan K.K. # All Rights Reserved. diff --git a/os_ken/cmd/rpc_cli.py b/os_ken/cmd/rpc_cli.py index da2d4018..17373622 100755 --- a/os_ken/cmd/rpc_cli.py +++ b/os_ken/cmd/rpc_cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2013 YAMAMOTO Takashi diff --git a/os_ken/tests/integrated/run_tests_with_ovs12.py b/os_ken/tests/integrated/run_tests_with_ovs12.py index b7c7ea32..d5fc12ba 100755 --- a/os_ken/tests/integrated/run_tests_with_ovs12.py +++ b/os_ken/tests/integrated/run_tests_with_ovs12.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/os_ken/tests/packet_data_generator3/gen.py b/os_ken/tests/packet_data_generator3/gen.py index c44666d9..00ca9280 100644 --- a/os_ken/tests/packet_data_generator3/gen.py +++ b/os_ken/tests/packet_data_generator3/gen.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import getopt import os diff --git a/os_ken/tests/switch/run_mininet.py b/os_ken/tests/switch/run_mininet.py index 8ad5895e..6038dde7 100755 --- a/os_ken/tests/switch/run_mininet.py +++ b/os_ken/tests/switch/run_mininet.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/tools/normalize_json.py b/tools/normalize_json.py index 2d9cbb18..bb155676 100755 --- a/tools/normalize_json.py +++ b/tools/normalize_json.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2013 YAMAMOTO Takashi diff --git a/tools/topology_graphviz.py b/tools/topology_graphviz.py index e7884fc8..447e21a9 100755 --- a/tools/topology_graphviz.py +++ b/tools/topology_graphviz.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2013 YAMAMOTO Takashi