Skip to content

Commit

Permalink
Removing vagrant processing
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Nov 15, 2016
1 parent fe9dce9 commit e6ba9c8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
3 changes: 3 additions & 0 deletions bin/perms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ echo $(md5sum builds/$ova_key)
ami_id=$(aws ec2 describe-images --owners $aws_acct_id --query 'reverse(sort_by(Images[?starts_with(Name, `import-ami`)], &CreationDate))[0].[ImageId]' --output text | tr -d '\n' )
echo "Publishing $ami_id to $aws_acct_id"

ami_image_description=$(aws ec2 describe-images --image-ids $ami_id --query 'Images[0].{Description:Tags[0].Value}')
echo $ami_image_description

aws ec2 modify-image-attribute --image-id $ami_id --launch-permission "{\"Add\":[{\"UserId\":\"$aws_acct_id\"}]}"

5 changes: 0 additions & 5 deletions comanage-appliance.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@
"compression_level": "9",
"output": "builds/{{user `outputfile_name`}}-ova-{{user `timestamper`}}.tar"
},
{
"type": "vagrant",
"compression_level": "9",
"output": "builds/{{user `outputfile_name`}}-vagrant-{{user `timestamper`}}.box"
},
{
"type": "amazon-import",
"access_key": "{{user `aws_access_key`}}",
Expand Down
5 changes: 0 additions & 5 deletions grouper-appliance.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@
"compression_level": "9",
"output": "builds/{{user `outputfile_name`}}-ova-{{user `timestamper`}}.tar"
},
{
"type": "vagrant",
"compression_level": "9",
"output": "builds/{{user `outputfile_name`}}-vagrant-{{user `timestamper`}}.tar"
},
{
"type": "amazon-import",
"access_key": "{{user `aws_access_key`}}",
Expand Down
5 changes: 0 additions & 5 deletions shibboleth-appliance.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@
"compression_level": "9",
"output": "builds/{{user `outputfile_name`}}-ova-{{user `timestamper`}}.tar"
},
{
"type": "vagrant",
"compression_level": "9",
"output": "builds/{{user `outputfile_name`}}-vagrant-{{user `timestamper`}}.tar"
},
{
"type": "amazon-import",
"access_key": "{{user `aws_access_key`}}",
Expand Down

0 comments on commit e6ba9c8

Please sign in to comment.