소스 검색

Fixes path encoding issue in _add_dism_driver

Alessandro Pilotti 9 년 전
부모
커밋
0ff9058345
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      coriolis/osmorphing/windows.py

+ 1 - 1
coriolis/osmorphing/windows.py

@@ -113,7 +113,7 @@ class BaseWindowsMorphingTools(base.BaseOSMorphingTools):
         return self._conn.exec_command(
             dism_path,
             ["/add-driver", "/image:%s" % self._os_root_dir,
-             "/driver:%s" % driver_path, "/recurse", "/forceunsigned"])
+             "/driver:\"%s\"" % driver_path, "/recurse", "/forceunsigned"])
 
     def _mount_disk_image(self, path):
         LOG.info("Mounting disk image: %s" % path)