Skip to content

Instantly share code, notes, and snippets.

View VinayMakam's full-sized avatar

Vinay Makam VinayMakam

View GitHub Profile
@VinayMakam
VinayMakam / autopart.sh
Created June 26, 2018 06:36 — forked from trentmswanson/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/sda|/dev/sdb"
# Base directory to hold the data* files
DATA_BASE="/media"
usage() {
echo "Usage: $(basename $0) <new disk>"
}