Use /usr/bin/env python to autodetect python

https://review.openstack.org/#/c/564024/ used
/bin/python as the shebang but this can be different
for different platforms, switch to /usr/bin/env to
handle it.

Also update undercloud_ctlplane_network.py to use
/usr/bin/env for consistency, although this file
is not executable.

Change-Id: Id915ded03ae5a471ffa2dca13e2da90021279f63
This commit is contained in:
yatin 2018-05-23 20:46:38 +05:30
parent 5b1a2301bf
commit 247438dd5a
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
import json import json
import netaddr import netaddr

View File

@ -1,4 +1,4 @@
#!/bin/python -utt #!/usr/bin/env python -utt
import os import os
import sys import sys