Skip to content

Commit e14786c

Browse files
authored
Merge branch 'fox-it:main' into capability-manager
2 parents bfd27b6 + 44b534e commit e14786c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

acquire/acquire.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2264,6 +2264,9 @@ def main() -> None:
22642264
if args.fallback:
22652265
target_query.update({"fallback-to-directory-fs": 1})
22662266

2267+
if args.enable_nfs:
2268+
target_query.update({"enable-nfs": 1})
2269+
22672270
target_query = urllib.parse.urlencode(target_query)
22682271
target_path = f"{target_path}?{target_query}"
22692272
target_paths.append(target_path)

acquire/utils.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,14 @@ def create_argument_parser(profiles: dict, volatile: dict, modules: dict) -> arg
153153
"Only supported with target 'local'"
154154
),
155155
)
156+
parser.add_argument(
157+
"--enable-nfs",
158+
action=argparse.BooleanOptionalAction,
159+
help=(
160+
"mount nfs shares by connecting to the nfs server of the share."
161+
"Only supported with target 'local'"
162+
),
163+
)
156164

157165
parser.add_argument(
158166
"-u",

0 commit comments

Comments
 (0)