Created
August 8, 2018 09:47
-
-
Save chendo/59c2bfd56c7416b438108641a8630066 to your computer and use it in GitHub Desktop.
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 | |
if [ -e /dev/nvme1n1 ] | |
then | |
sudo /etc/init.d/docker stop | |
sudo mkfs.ext4 /dev/nvme1n1 | |
sudo mount /dev/nvme1n1 /var/lib/docker | |
sudo /etc/init.d/docker start | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment