Created
October 4, 2019 17:58
-
-
Save egeneralov/0133abb06dbeb600720e32682c07d996 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| cat << EOF > config | |
| DRIVE1 /dev/nvme0n1 | |
| DRIVE2 /dev/nvme1n1 | |
| SWRAID 1 | |
| SWRAIDLEVEL 0 | |
| BOOTLOADER grub | |
| HOSTNAME $(hostname) | |
| PART /boot ext3 512M | |
| PART / ext4 20G | |
| PART /data xfs all | |
| IMAGE /root/.oldroot/nfs/images/Debian-100-buster-64-minimal.tar.gz | |
| EOF | |
| installimage -r yes -a -c /root/config -K /root/.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment