Skip to content

Commit

Permalink
Adding shebang for rpc-o-support scripts
Browse files Browse the repository at this point in the history
Also renaming router.py to neutron_router.py
  • Loading branch information
BjoernT committed Apr 2, 2018
1 parent b44d10b commit 07b8dd7
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion playbooks/files/rpc-o-support/fix-backing-image.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/env python
#!/usr/bin/env python2

'''
============================================================================================
Script used to fix the issue of having running instances whose glance image was deleted.
Expand Down
2 changes: 2 additions & 0 deletions playbooks/files/rpc-o-support/healthcheck.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python2

from __future__ import print_function
import os
import sys
Expand Down
11 changes: 6 additions & 5 deletions playbooks/files/rpc-o-support/image_check.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
===============================================================
Used to get the status of all images in an environment. To get all the details try:
#!/usr/bin/env python2

python image_check.py --verbose --all
===============================================================
#===============================================================
#Used to get the status of all images in an environment. To get all the details try:
#
#python image_check.py --verbose --all
#===============================================================

#!/bin/env python
import argparse
import MySQLdb
import ConfigParser
Expand Down
2 changes: 1 addition & 1 deletion playbooks/files/rpc-o-support/maas-cloud-token.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import getpass
import json
import requests
Expand Down
2 changes: 2 additions & 0 deletions playbooks/files/rpc-o-support/router.py → ...oks/files/rpc-o-support/neutron_router.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python2

from __future__ import print_function
import os
import sys
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ ansible>=1.9.1,<3.0.0
os-client-config
#shade Removed until dependencies issues resolve with upstream requirements
python-openstackclient
paramiko

0 comments on commit 07b8dd7

Please sign in to comment.