diff options
author | Kim <kim.sidney@gmail.com> | 2018-11-06 22:48:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 22:48:23 +0100 |
commit | 679b908495be500854a05503589e96617603f4d9 (patch) | |
tree | 622690981d2b2373de0a6c12409bf27aaed3e1ba /scripts/install/install-functions | |
parent | 12fddd72207087e3a8f420e79a50c43c13749b74 (diff) | |
parent | bdb1c996b5392682e163c0349c4d910633180d58 (diff) | |
download | vyatta-cfg-system-679b908495be500854a05503589e96617603f4d9.tar.gz vyatta-cfg-system-679b908495be500854a05503589e96617603f4d9.zip |
Merge pull request #83 from kroy-the-rabbit/current
T955: Integrating EFI into the installer
Diffstat (limited to 'scripts/install/install-functions')
-rwxr-xr-x | scripts/install/install-functions | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/install/install-functions b/scripts/install/install-functions index d65a6c6c..c9f3642e 100755 --- a/scripts/install/install-functions +++ b/scripts/install/install-functions @@ -179,6 +179,9 @@ select_drive () { egrep "c[0-9]d[0-9]$|[hsv]d[a-z]$|nvme[0-9]n[0-9]" | \ egrep -v "^$") + #this needs more testing to decide if better than above + #drives=$(lsblk -dn -o name -I8) + # take the first drive as the default drv=$(echo $drives | /usr/bin/awk '{ print $1 }') |