Skip to content

Commit 0a2acd0

Browse files
andrewgiesselfreeman-lab
authored andcommitted
add --private-ips
1 parent 6baec56 commit 0a2acd0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

python/thunder/utils/ec2.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,11 @@ def setup_cluster(conn, master_nodes, slave_nodes, opts, deploy_ssh_key):
455455
help="Github repo from which to checkout spark-ec2 (default: %default)")
456456
parser.add_option("--spark-ec2-git-branch", default="branch-1.3",
457457
help="Github repo branch of spark-ec2 to use (default: %default)")
458-
458+
parser.add_option("--private-ips", action="store_true", default=False,
459+
help="Use private IPs for instances rather than public if VPC/subnet " +
460+
"requires that.")
461+
462+
459463
(opts, args) = parser.parse_args()
460464
if len(args) != 2:
461465
parser.print_help()

0 commit comments

Comments
 (0)