From e6ba9c808d5ae581fcb8d16c62824eab3d9dd248 Mon Sep 17 00:00:00 2001 From: villadalmine Date: Tue, 15 Nov 2016 18:06:14 +0100 Subject: [PATCH] Removing vagrant processing --- bin/perms.sh | 3 +++ comanage-appliance.json | 5 ----- grouper-appliance.json | 5 ----- shibboleth-appliance.json | 5 ----- 4 files changed, 3 insertions(+), 15 deletions(-) diff --git a/bin/perms.sh b/bin/perms.sh index 50e2631..4044f28 100755 --- a/bin/perms.sh +++ b/bin/perms.sh @@ -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\"}]}" diff --git a/comanage-appliance.json b/comanage-appliance.json index 28a30cc..84f02c3 100644 --- a/comanage-appliance.json +++ b/comanage-appliance.json @@ -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`}}", diff --git a/grouper-appliance.json b/grouper-appliance.json index e4418e4..77859ca 100644 --- a/grouper-appliance.json +++ b/grouper-appliance.json @@ -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`}}", diff --git a/shibboleth-appliance.json b/shibboleth-appliance.json index e3cccf9..a58007e 100644 --- a/shibboleth-appliance.json +++ b/shibboleth-appliance.json @@ -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`}}",