forked from microsoft/hcsshim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use block device mount to format scratch
By default create LCOW will set the number of SCSI controllers to 4, when VPMem isn't used, which is the case when formatting scratch. This makes the device path lookup non-determenistic, since the SCSI controllers in the guest may have different indices. To workaround that, use a block device mount and use the mount-path to format the scratch VHDX without needing to lookup the actual dev node path. Signed-off-by: Maksim An <maksiman@microsoft.com>
- Loading branch information
Showing
1 changed file
with
15 additions
and
41 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