Skip to content

Commit

Permalink
changed volume to be root volume /dev/sda1
Browse files Browse the repository at this point in the history
  • Loading branch information
lola831 committed Oct 7, 2024
1 parent 2eebb22 commit 252c837
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run-simulators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
echo "Volume is now available"
# Attach the volume to the instance
aws ec2 attach-volume --volume-id $volume_id --instance-id $INSTANCE_ID --device /dev/sdf
echo "Volume $volume_id attached to instance $INSTANCE_ID as /dev/sdf"
aws ec2 attach-volume --volume-id $volume_id --instance-id $INSTANCE_ID --device /dev/sda1
echo "Volume $volume_id attached to instance $INSTANCE_ID as /dev/sda1"
- name: Start EC2 Instance
env:
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
VOLUME_ID: ${{ needs.start_ec2_instance.outputs.created_volume_id }}
VOLUME_ID: ${{ needs.start_ec2_instance.outputs.volume_id }}
run: |
# Delete the volume after snapshot is complete
aws ec2 delete-volume --volume-id $VOLUME_ID
Expand Down

0 comments on commit 252c837

Please sign in to comment.