mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-08 18:30:35 +00:00
More allowed drive types
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user