Skip to content

Commit

Permalink
fixed nfs exports by removing unnecessary "/" at the beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
XaverStiensmeier committed Jun 24, 2024
1 parent b479e29 commit de145dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bibigrid/core/utility/ansible_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def generate_common_configuration_yaml(cidrs, configurations, cluster_id, ssh_us
if master_configuration.get("nfs"):
nfs_shares = master_configuration.get("nfsShares", [])
nfs_shares = nfs_shares + DEFAULT_NFS_SHARES
common_configuration_yaml["nfs_mounts"] = [{"src": "/" + nfs_share, "dst": "/" + nfs_share} for nfs_share in
common_configuration_yaml["nfs_mounts"] = [{"src": nfs_share, "dst": nfs_share} for nfs_share in
nfs_shares]
common_configuration_yaml["ext_nfs_mounts"] = [{"src": ext_nfs_share, "dst": ext_nfs_share} for ext_nfs_share in
(master_configuration.get("extNfsShares", []))]
Expand Down

0 comments on commit de145dc

Please sign in to comment.