From dcb691439b832faa7c3a252e7810116bc114c20e Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 7 May 2015 13:30:43 +0200 Subject: Select the first available block device by default. --- include/partition.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/partition.sh') diff --git a/include/partition.sh b/include/partition.sh index eed6db9..4eedcc3 100755 --- a/include/partition.sh +++ b/include/partition.sh @@ -24,7 +24,7 @@ set -ue . /lib/fripost-partman/base.sh # Configuration for a single disk -device=/dev/sda +device=$(fripost_list_devices | head -1) raidLevel= # Configuration for a RAID array -- cgit v1.2.3