forked from autotest/tp-libvirt
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attach_detach_disk: fix disk discovery
The code compared old and new listing of impersistent disk names, e.g. 'vdX'. Those names can change between reboots. Instead, use function to identify new disks that don't mount the root file system. The function raises an error if there is no such disk, so handle that to confirm that disks are detached correctly. Signed-off-by: Sebastian Mitterle <[email protected]>
- Loading branch information
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters