cluster-deployment/jobs/nfs/nfs.job

12 lines
407 B
Text
Raw Normal View History

#!/usr/bin/env bash
RUN "sudo apt-get update";
RUN "sudo apt-get install --yes nfs-common";
SCRIPT "${JOBFILE_DIR}/nfs-setup.sh"
COPY "${JOBFILE_DIR}/cluster-shared-nfs" "/tmp/cluster-shared-nfs";
RUN "sudo mv /tmp/cluster-shared-nfs /etc/network/if-up.d/cluster-shared-nfs";
RUN "sudo chown root:root /etc/network/if-up.d/cluster-shared-nfs";
RUN "sudo chmod +x /etc/network/if-up.d/cluster-shared-nfs"