Skip to content

Commit

Permalink
missed final commit in #182
Browse files Browse the repository at this point in the history
  • Loading branch information
ErinWeisbart authored Oct 28, 2024
1 parent f2d5c77 commit e2d444a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,8 @@ def startCluster():
spotfleetConfig['LaunchSpecifications'][LaunchSpecification]["UserData"]=userData
spotfleetConfig['LaunchSpecifications'][LaunchSpecification]['BlockDeviceMappings'][1]['Ebs']["VolumeSize"]= EBS_VOL_SIZE
spotfleetConfig['LaunchSpecifications'][LaunchSpecification]['InstanceType'] = MACHINE_TYPE[LaunchSpecification]
if not ASSIGN_IP:
if ASSIGN_IP.lower() == 'false':
print("Setting 'AssociatePublicIPAddress' to False, overwriting setting in Fleet file")
try:
spotfleetConfig['LaunchSpecifications'][0]['NetworkInterfaces'][0]['AssociatePublicIpAddress'] = False
except:
Expand Down Expand Up @@ -849,4 +850,4 @@ def monitor(cheapest=False):
startCluster()
elif sys.argv[1] == 'monitor':
monitor()


0 comments on commit e2d444a

Please sign in to comment.