Skip to content

Commit

Permalink
Updated tag instances to put addtl tag as Name
Browse files Browse the repository at this point in the history
  • Loading branch information
mcianfrocco committed Aug 9, 2017
1 parent f0fc57a commit 8f9d77d
Show file tree
Hide file tree
Showing 24 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion aws/launch_AWS_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,10 @@ def launchInstance(params,keyName,keyPath,AMI,AWS_ACCOUNT_ID):
subprocess.Popen(cmd,shell=True).wait()

if params['tagname'] != 'None':
cmd='aws ec2 create-tags --resources %s --tags Key=Owner,Value=%s' %(InstanceID,params['tagname'])
cmd='aws ec2 create-tags --resources %s --tags Key=Owner,Value=%s' %(InstanceID,keyName)
subprocess.Popen(cmd,shell=True).wait()

cmd='aws ec2 create-tags --resources %s --tags Key=Name,Value=%s' %(InstanceID,params['tagname'])
subprocess.Popen(cmd,shell=True).wait()

pwd=os.getcwd()
Expand Down
Binary file modified aws_build_linux/attach_volume.py
Binary file not shown.
Binary file modified aws_build_linux/aws_help
Binary file not shown.
Binary file modified aws_build_linux/aws_list_projects
Binary file not shown.
Binary file modified aws_build_linux/aws_project_delete
Binary file not shown.
Binary file modified aws_build_linux/aws_project_initialize
Binary file not shown.
Binary file modified aws_build_linux/aws_project_remove_directory
Binary file not shown.
Binary file modified aws_build_linux/aws_project_sync
Binary file not shown.
Binary file modified aws_build_linux/create_snapshot.py
Binary file not shown.
Binary file modified aws_build_linux/create_volume.py
Binary file not shown.
Binary file modified aws_build_linux/create_volume_IOPS.py
Binary file not shown.
Binary file modified aws_build_linux/delete_temp_s3_ebs
Binary file not shown.
Binary file modified aws_build_linux/detach_volume.py
Binary file not shown.
Binary file modified aws_build_linux/kill_instance.py
Binary file not shown.
Binary file modified aws_build_linux/kill_snapshot.py
Binary file not shown.
Binary file modified aws_build_linux/kill_volume.py
Binary file not shown.
Binary file modified aws_build_linux/launch_AWS_S3Movie_Alignment.py
Binary file not shown.
Binary file modified aws_build_linux/launch_AWS_instance.py
Binary file not shown.
Binary file modified aws_build_linux/launch_starcluster.py
Binary file not shown.
Binary file modified aws_build_linux/list_all.py
Binary file not shown.
Binary file modified aws_build_linux/list_instances.py
Binary file not shown.
Binary file modified aws_build_linux/list_spot_price.py
Binary file not shown.
Binary file modified aws_build_linux/qsub_aws
Binary file not shown.
2 changes: 1 addition & 1 deletion compile_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import subprocess

notincluded=['aws_init.sh','rclone','rclone_mac','aws_init.sh','s3tmpout.txt']
outdirname='aws_build_osx' #Choices: aws_build_linux, aws_build_osx
outdirname='aws_build_linux' #Choices: aws_build_linux, aws_build_osx
filelist=glob.glob('aws/*')

for f in filelist:
Expand Down

0 comments on commit 8f9d77d

Please sign in to comment.