From 92a1b8a8d7e40e425d629c3397c3b2183c6399aa Mon Sep 17 00:00:00 2001 From: maride Date: Mon, 31 Jul 2017 00:20:13 +0200 Subject: [PATCH] Fix echo flag --- steps/20-partition.step | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steps/20-partition.step b/steps/20-partition.step index 5dc50df..67df9e1 100755 --- a/steps/20-partition.step +++ b/steps/20-partition.step @@ -4,7 +4,7 @@ echo "~> Setting up $blockdevice with:" echo " * 300M EFI (FAT32) partition" echo " * crypted (LUKS) root (EXT4) partition" -echo "g\nn\n1\n2048\n+300M\nn\n2\n\n\np\nw" | fdisk $blockdevice +echo -e "g\nn\n1\n2048\n+300M\nn\n2\n\n\np\nw" | fdisk $blockdevice if [ "$?" -eq 0 ]; then echo "~> Seems to have worked. Yay!"