Support local file paths with colons

This commit is contained in:
Carl D. Roth
2018-02-02 19:28:34 -08:00
parent 6aadd03984
commit e8fb96d1ff

View File

@@ -221,7 +221,7 @@ class Runner(onl.install.InstallUtils.SubprocessMixin):
blkid = BlkidParser(log=self.log)
if ':' in SWI:
if not SWI.startswith('/') and ':' in SWI:
devspec, sep, r = SWI.partition(':')
p = "/dev/%s" % devspec