mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Merge pull request #303 from carlroth/master
Support local file paths with colons
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user