From 9a31968c873bc55623e4b8c7ae40c4220a361ace Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 23 Sep 2019 16:10:29 -0400 Subject: [PATCH] Remove ambiguity for RHEL8 python RHEL8 doesn't want 'python', so python2 for now. --- create_man_pages.py | 2 +- xCAT-probe/scripts/dbstats.py | 2 +- xCAT-server/xCAT-wsapi/xcatws-test.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/create_man_pages.py b/create_man_pages.py index 01f24b03e..93e10476c 100755 --- a/create_man_pages.py +++ b/create_man_pages.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 #TODO: Delete the old files to support removing a man page import glob diff --git a/xCAT-probe/scripts/dbstats.py b/xCAT-probe/scripts/dbstats.py index 1a74c3419..19d68121e 100755 --- a/xCAT-probe/scripts/dbstats.py +++ b/xCAT-probe/scripts/dbstats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 # -*- encoding: utf-8 -*- from __future__ import print_function import argparse diff --git a/xCAT-server/xCAT-wsapi/xcatws-test.py b/xCAT-server/xCAT-wsapi/xcatws-test.py index 2f37126cf..f8d98bfc2 100755 --- a/xCAT-server/xCAT-wsapi/xcatws-test.py +++ b/xCAT-server/xCAT-wsapi/xcatws-test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 """Usage: xcatws_test.py [--xcatmn=] [--user=] [--password=] """