We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46cd9af commit 7c836bcCopy full SHA for 7c836bc
hack/manifests/storage/nfs-server.sh
@@ -3,17 +3,17 @@
3
if type apt >/dev/null 2>&1; then
4
apt update
5
apt install -y nfs-common nfs-kernel-server
6
- systemctl enable rpcbind --now
7
- systemctl enable nfs-server --now
8
elif type yum >/dev/null 2>&1; then
+ yum makecache
9
yum install -y nfs-utils
10
11
- systemctl enable nfs --now
12
else
13
echo "Neither apt-get nor yum found" >&2
14
exit 1
15
fi
16
+systemctl enable rpcbind --now
+systemctl enable nfs-server --now
+
17
[ -f "/etc/exports" ] && cp -a /etc/exports /etc/exports.bak
18
19
SPATH=${1:-/opt/quickon/storage/nfs/}
0 commit comments