Skip to content

Commit

Permalink
Merge pull request #177 from arighi/export-multiple-dir
Browse files Browse the repository at this point in the history
virtme-ng: allow to specify multiple --rwdir and --rodir
  • Loading branch information
arighi authored Oct 7, 2024
2 parents 9806c65 + 4e92ba3 commit 6ba970f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions virtme_ng/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,12 +868,12 @@ def _get_virtme_cwd(self, args):
def _get_virtme_rodir(self, args):
self.virtme_param["rodir"] = ""
for item in args.rodir:
self.virtme_param["rodir"] += "--rodir " + item
self.virtme_param["rodir"] += f"--rodir {item} "

def _get_virtme_rwdir(self, args):
self.virtme_param["rwdir"] = ""
for item in args.rwdir:
self.virtme_param["rwdir"] += "--rwdir " + item
self.virtme_param["rwdir"] += f"--rwdir {item} "

def _get_virtme_overlay_rwdir(self, args):
# Set default overlays if rootfs is mounted in read-only mode.
Expand Down

0 comments on commit 6ba970f

Please sign in to comment.