Skip to content

Instantly share code, notes, and snippets.

View vinaykumarmakam's full-sized avatar

Vinay Kumar Makam vinaykumarmakam

View GitHub Profile
@vinaykumarmakam
vinaykumarmakam / 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>"
}