12 lines
407 B
Text
12 lines
407 B
Text
|
#!/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"
|