Skip to content

Commit

Permalink
tcconfig fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Glonek committed Sep 3, 2024
1 parent 63add43 commit fdcdde6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
1 change: 1 addition & 0 deletions CHANGELOG/7.6.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ _Release Date: Month Day, Year_
* GCP: support using a single static key for all clusters and clients (must be located in `${AEROLAB_HOME}/sshkey(.pub)`; if it exists, will automatically be used).
* GCP: Do not require zone for instances when setting labels.
* Inventory List: expose gcp/aws/docker tags/labels and metadata in json output.
* Net: Loss-Delay: upgrade tcconfig to `0.29.1` and make install optional (do not fail if install failed).
* Partitioner: when configuring index on device, parse partition tree sprig configs and fix if required.
* Upgrade: added `aerolab upgrade --bugfix` - will upgrade to latest fix version, not bleeding edge version.
* Upgrade: improved `aerolab upgrade --edge` - always install latest pre-release if multiple are available.
Expand Down
50 changes: 25 additions & 25 deletions src/scripts.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ CPUVER=amd64
[ "$(uname -p)" = "arm64" ] && CPUVER=arm64
[ "$(uname -p)" = "aarch64" ] && CPUVER=arm64
tcfn="tcconfig-${VERSION_ID}-${CPUVER}.deb"
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.28.0-2/${tcfn}
dpkg --force-architecture -i ${tcfn}
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.29.1-1/${tcfn} || echo "no net-loss-delay support"
dpkg --force-architecture -i ${tcfn} || echo "no net-loss-delay support"
########## tcconfig end
cd /root && tar -zxf installer.tgz || exit 1
cd aerospike-server-* ; ./asinstall || exit 1
Expand Down Expand Up @@ -114,9 +114,9 @@ CPUVER=amd64
[ "$(uname -p)" = "arm64" ] && CPUVER=arm64
[ "$(uname -p)" = "aarch64" ] && CPUVER=arm64
tcfn="tcconfig-centos-${VERSION_ID}-${CPUVER}.tgz"
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.28.0-2/${tcfn}
tar -C /usr/local/bin -zxvf ${tcfn}
chmod 755 /usr/local/bin/tc*
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.29.1-1/${tcfn} || echo "no net-loss-delay support"
tar -C /usr/local/bin -zxvf ${tcfn} || echo "no net-loss-delay support"
chmod 755 /usr/local/bin/tc* || echo "no net-loss-delay support"
########## tcconfig end
cd /root && tar -zxvf installer.tgz || exit 1
cd aerospike-server-* ; ./asinstall || exit 1
Expand Down Expand Up @@ -160,9 +160,9 @@ CPUVER=amd64
[ "$(uname -p)" = "arm64" ] && CPUVER=arm64
[ "$(uname -p)" = "aarch64" ] && CPUVER=arm64
tcfn="tcconfig-centos-stream${VERSION_ID}-${CPUVER}.tgz"
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.28.0-2/${tcfn}
tar -C /usr/local/bin -zxvf ${tcfn}
chmod 755 /usr/local/bin/tc*
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.29.1-1/${tcfn} || echo "no net-loss-delay support"
tar -C /usr/local/bin -zxvf ${tcfn} || echo "no net-loss-delay support"
chmod 755 /usr/local/bin/tc* || echo "no net-loss-delay support"
########## tcconfig end
cd /root && tar -zxvf installer.tgz || exit 1
cd aerospike-server-* ; ./asinstall || exit 1
Expand Down Expand Up @@ -204,9 +204,9 @@ CPUVER=amd64
[ "$(uname -p)" = "arm64" ] && CPUVER=arm64
[ "$(uname -p)" = "aarch64" ] && CPUVER=arm64
tcfn="tcconfig-centos-stream${VERSION_ID}-${CPUVER}.tgz"
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.28.0-2/${tcfn}
tar -C /usr/local/bin -zxvf ${tcfn}
chmod 755 /usr/local/bin/tc*
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.29.1-1/${tcfn} || echo "no net-loss-delay support"
tar -C /usr/local/bin -zxvf ${tcfn} || echo "no net-loss-delay support"
chmod 755 /usr/local/bin/tc* || echo "no net-loss-delay support"
########## tcconfig end
cd /root && tar -zxvf installer.tgz || exit 1
cd aerospike-server-* ; ./asinstall || exit 1
Expand Down Expand Up @@ -251,9 +251,9 @@ CPUVER=amd64
[ "$(uname -p)" = "arm64" ] && CPUVER=arm64
[ "$(uname -p)" = "aarch64" ] && CPUVER=arm64
tcfn="tcconfig-centos-7-${CPUVER}.tgz"
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.28.0-2/${tcfn}
tar -C /usr/local/bin -zxvf ${tcfn}
chmod 755 /usr/local/bin/tc*
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.29.1-1/${tcfn} || echo "no net-loss-delay support"
tar -C /usr/local/bin -zxvf ${tcfn} || echo "no net-loss-delay support"
chmod 755 /usr/local/bin/tc* || echo "no net-loss-delay support"
########## tcconfig end
cd /root && tar -zxvf installer.tgz || exit 1
cd aerospike-server-* ; ./asinstall || exit 1
Expand All @@ -280,8 +280,8 @@ CPUVER=amd64
[ "$(uname -p)" = "arm64" ] && CPUVER=arm64
[ "$(uname -p)" = "aarch64" ] && CPUVER=arm64
tcfn="tcconfig-${VERSION_ID}-${CPUVER}.deb"
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.28.0-2/${tcfn}
dpkg --force-architecture -i ${tcfn}
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.29.1-1/${tcfn} || echo "no net-loss-delay support"
dpkg --force-architecture -i ${tcfn} || echo "no net-loss-delay support"
########## tcconfig end
cd /root && tar -zxf installer.tgz || exit 1
cd aerospike-server-* ; ./asinstall || exit 1
Expand Down Expand Up @@ -396,9 +396,9 @@ CPUVER=amd64
[ "$(uname -p)" = "arm64" ] && CPUVER=arm64
[ "$(uname -p)" = "aarch64" ] && CPUVER=arm64
tcfn="tcconfig-centos-${VERSION_ID}-${CPUVER}.tgz"
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.28.0-2/${tcfn}
tar -C /usr/local/bin -zxvf ${tcfn}
chmod 755 /usr/local/bin/tc*
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.29.1-1/${tcfn} || echo "no net-loss-delay support"
tar -C /usr/local/bin -zxvf ${tcfn} || echo "no net-loss-delay support"
chmod 755 /usr/local/bin/tc* || echo "no net-loss-delay support"
########## tcconfig end
cd /root && tar -zxvf installer.tgz || exit 1
cd aerospike-server-* ; ./asinstall || exit 1
Expand Down Expand Up @@ -492,9 +492,9 @@ CPUVER=amd64
[ "$(uname -p)" = "arm64" ] && CPUVER=arm64
[ "$(uname -p)" = "aarch64" ] && CPUVER=arm64
tcfn="tcconfig-centos-stream${VERSION_ID}-${CPUVER}.tgz"
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.28.0-2/${tcfn}
tar -C /usr/local/bin -zxvf ${tcfn}
chmod 755 /usr/local/bin/tc*
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.29.1-1/${tcfn} || echo "no net-loss-delay support"
tar -C /usr/local/bin -zxvf ${tcfn} || echo "no net-loss-delay support"
chmod 755 /usr/local/bin/tc* || echo "no net-loss-delay support"
########## tcconfig end
cd /root && tar -zxvf installer.tgz || exit 1
cd aerospike-server-* ; ./asinstall || exit 1
Expand Down Expand Up @@ -602,9 +602,9 @@ CPUVER=amd64
[ "$(uname -p)" = "arm64" ] && CPUVER=arm64
[ "$(uname -p)" = "aarch64" ] && CPUVER=arm64
tcfn="tcconfig-centos-stream${VERSION_ID}-${CPUVER}.tgz"
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.28.0-2/${tcfn}
tar -C /usr/local/bin -zxvf ${tcfn}
chmod 755 /usr/local/bin/tc*
wget https://github.com/rglonek/tcconfig-builds/releases/download/v0.29.1-1/${tcfn} || echo "no net-loss-delay support"
tar -C /usr/local/bin -zxvf ${tcfn} || echo "no net-loss-delay support"
chmod 755 /usr/local/bin/tc* || echo "no net-loss-delay support"
########## tcconfig end
cd /root && tar -zxvf installer.tgz || exit 1
cd aerospike-server-* ; ./asinstall || exit 1
Expand Down

0 comments on commit fdcdde6

Please sign in to comment.