Skip to content

Instantly share code, notes, and snippets.

View moshiurH's full-sized avatar

Moshiur Howlader moshiurH

  • Mirantis
  • Hamilton, Ontario
View GitHub Profile
@moshiurH
moshiurH / check.sh
Created June 6, 2025 06:20
Check the pre-reqs for k0rdent airgap is installed in given node
#!/bin/bash
echo "Checking tool versions..."
echo -n "bash: "
bash --version | head -n 1
echo -n "coreutils (ls): "
ls --version | head -n 1
@moshiurH
moshiurH / updated-airgap-prepare-with-k0rdent-prereq.sh
Created June 6, 2025 06:05
AWS Airgap Prep Script with k0rdent Pre-requisites installed on all the airgapped nodes
#!/bin/bash
# ############################################################################################################
#
# This script prepares airgapped nodes deployed with TF stack located within this folder.
#
# See README.md for more details.
#
# Usage: ./airgap-prepare.sh
#
'''
PRE-REQUISITES:
=======================
1. Helm is installed.
2. helm repo add postgres-operator https://opensource.zalando.com/postgres-operator/charts/postgres-operator/
3. helm repo add msrofficial https://registry.mirantis.com/charts/msr/msr
HOW TO RUN:
=======================
Change the `host` and `password` variables to that of your MSR instance.