mirror of
https://github.com/clearlinux/koji-setup-scripts.git
synced 2026-04-28 11:03:50 +00:00
Fix up koji NFS server deployment
Only install nfs-utils bundle. This package was previously broken and relied on a dependency in storage-utils, but this has since been fixed. Add no_root_squash option for exporting a NFS mount to increase the read performance. Signed-off-by: George T Kramer <george.t.kramer@intel.com>
This commit is contained in:
@@ -7,10 +7,10 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
||||
source "$SCRIPT_DIR"/globals.sh
|
||||
source "$SCRIPT_DIR"/parameters.sh
|
||||
|
||||
swupd bundle-add storage-utils
|
||||
swupd bundle-add nfs-utils
|
||||
|
||||
# Export server directory to be mounted by clients
|
||||
echo "$KOJI_DIR $KOJI_SLAVE_FQDN(ro)" >> /etc/exports
|
||||
echo "$KOJI_DIR $KOJI_SLAVE_FQDN(ro,no_root_squash)" >> /etc/exports
|
||||
|
||||
systemctl enable --now rpcbind
|
||||
systemctl enable --now nfs-server
|
||||
|
||||
Reference in New Issue
Block a user