Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit a1a728e

Browse files
committed
add compatibility shims
1 parent e7c8bf8 commit a1a728e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
EBS_AUTOSCALE_VERSION=$(curl --silent "https://api.github.com/repos/awslabs/amazon-ebs-autoscale/releases/latest" | jq -r .tag_name)
4+
cd /opt && git clone https://github.com/awslabs/amazon-ebs-autoscale.git
5+
cd /opt/amazon-ebs-autoscale && git checkout $EBS_AUTOSCALE_VERSION
6+
sh /opt/amazon-ebs-autoscale/install.sh $scratchPath /dev/sdc 2>&1 > /var/log/ebs-autoscale-install.log
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# this is a shim for backwards compatibility for releases <2.6.0
4+
EBS_AUTOSCALE_VERSION=$(curl --silent "https://api.github.com/repos/awslabs/amazon-ebs-autoscale/releases/latest" | jq -r .tag_name)
5+
cd /opt && git clone https://github.com/awslabs/amazon-ebs-autoscale.git
6+
cd /opt/amazon-ebs-autoscale && git checkout $EBS_AUTOSCALE_VERSION
7+
sh /opt/amazon-ebs-autoscale/install.sh $scratchPath /dev/sdc 2>&1

0 commit comments

Comments
 (0)