Last active
April 6, 2017 18:48
-
-
Save Thraka/ab1d8b78ac4b23722f3d3c1c03ac5df4 to your computer and use it in GitHub Desktop.
Prep for Azure vmss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Setup the data disk | |
(echo n; echo p; echo 1; echo ; echo ; echo w) | fdisk /dev/sdc | |
fdisk /dev/sdc | |
mkfs -t ext4 /dev/sdc1 | |
mkdir /datadrive | |
mount /dev/sdc1 /datadrive | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment