Skip to content

Instantly share code, notes, and snippets.

View kev-out's full-sized avatar
💭
:octocat:

Kevin Deamandel kev-out

💭
:octocat:
  • 00:48 (UTC +02:00)
View GitHub Profile
@kev-out
kev-out / autopart.sh
Created November 11, 2022 12:16 — forked from sozercan/autopart.sh
Linux bash script to partition and format all data disks in azure
#!/bin/bash
# An set of disks to ignore from partitioning and formatting
BLACKLIST="/dev/vda|/dev/vd|/dev/vdc"
# Base directory to hold the data* files
DATA_BASE="/mnt"
usage() {
echo "Usage: $(basename $0) <new disk>"
}