Skip to content

Commit

Permalink
Merge pull request #3813 from mxie91/test-guest-name-with-space
Browse files Browse the repository at this point in the history
Test guest name with space via vmx
  • Loading branch information
chloerh authored Jan 24, 2024
2 parents 91c06c2 + a71c3ca commit e771ea1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions virttest/utils_v2v.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ def _compose_vmx_filename():

if '%' in self._nfspath:
self._nfspath = self._nfspath.replace('%', '%25')
if ' ' in self._nfspath:
self._nfspath = self._nfspath.replace(' ', '%20')

if not self._vmx_filename:
self._vmx_filename = self._nfspath
Expand Down

0 comments on commit e771ea1

Please sign in to comment.