about summary refs log tree commit diff
path: root/singularity-head-deploy.sh
blob: 533224b5c6a6d087c5beea9882207805cd5160d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh -xe

##
## singularity deployment on octopus01 (the head node)
##

## Install singularity in the same way as the worker nodes.
./singularity-worker-deploy.sh $(guix build -f singularity.scm)

# Register garbage collector root to prevent `guix gc' from garbage
# collecting singularity.
sudo ln --force --symbolic /usr/local/bin/singularity /var/guix/gcroots