mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
More allowed drive types
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
parent
6670833de8
commit
9276dc01fd
@ -10,7 +10,7 @@ start()
|
||||
{
|
||||
ebegin "Configuring host block device"
|
||||
|
||||
DEV="$(ls /dev/[xv]da | head -1 | sed s@/dev/@@)"
|
||||
DEV="$(ls /dev/[sxv]da | head -1 | sed s@/dev/@@)"
|
||||
DRIVE="/dev/${DEV}"
|
||||
|
||||
if fdisk -l ${DRIVE} | grep -q "doesn't contain a valid partition table"
|
||||
|
Loading…
Reference in New Issue
Block a user