diff --git a/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/compute_node_start.sh b/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/compute_node_start.sh index bb2efb0fbf..656b6be776 100644 --- a/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/compute_node_start.sh +++ b/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/compute_node_start.sh @@ -14,7 +14,7 @@ sudo mkdir -p $ENROOT_VOLATILE_DIR sudo chmod 1777 $ENROOT_VOLATILE_DIR sudo mkdir -p $ENROOT_CONF_DIR sudo chmod 1777 $ENROOT_CONF_DIR -sudo mv /opt/parallelcluster/examples/enroot/enroot.conf /etc/enroot/enroot.conf +sudo cp /opt/parallelcluster/examples/enroot/enroot.conf /etc/enroot/enroot.conf sudo chmod 0644 /etc/enroot/enroot.conf # Configure Pyxis diff --git a/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/head_node_configure.sh b/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/head_node_configure.sh index f8560f480a..1a2efa0244 100644 --- a/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/head_node_configure.sh +++ b/tests/integration-tests/tests/pyxis/test_pyxis/test_pyxis/head_node_configure.sh @@ -11,7 +11,7 @@ sudo mkdir -p $ENROOT_PERSISTENT_DIR sudo chmod 1777 $ENROOT_PERSISTENT_DIR sudo mkdir -p $ENROOT_VOLATILE_DIR sudo chmod 1777 $ENROOT_VOLATILE_DIR -sudo mv /opt/parallelcluster/examples/enroot/enroot.conf /etc/enroot/enroot.conf +sudo cp /opt/parallelcluster/examples/enroot/enroot.conf /etc/enroot/enroot.conf sudo chmod 0644 /etc/enroot/enroot.conf # Configure Pyxis @@ -21,6 +21,6 @@ sudo mkdir -p $PYXIS_RUNTIME_DIR sudo chmod 1777 $PYXIS_RUNTIME_DIR sudo mkdir -p /opt/slurm/etc/plugstack.conf.d/ -sudo mv /opt/parallelcluster/examples/spank/plugstack.conf /opt/slurm/etc/ -sudo mv /opt/parallelcluster/examples/pyxis/pyxis.conf /opt/slurm/etc/plugstack.conf.d/ +sudo cp /opt/parallelcluster/examples/spank/plugstack.conf /opt/slurm/etc/ +sudo cp /opt/parallelcluster/examples/pyxis/pyxis.conf /opt/slurm/etc/plugstack.conf.d/ sudo -i scontrol reconfigure