Loading bootstrap-mail-drive.sh 0 → 100644 +25 −0 Original line number Diff line number Diff line #!/bin/bash ################################################################################ # closed repo during test-phase, will be public later - testing with my account USER=thilo BOOTSTRAPREPO=https://${USER}@gitlab.e.foundation/e/priv/cloud/compose.git apt-get update && apt install -y --asume-yes true git salt-minion ################################################################################ # Clone repo echo "Cloning repo .." git -C /mnt clone $BOOTSTRAPREPO repo-base ln -s /mnt/repo-base /mnt/docker # Init salt-minion (masterless) cp /mnt/repo-base/deployment/salt/init-config/masterless.conf /etc/salt/minion.d/ # Run repo init (might run a few minutes) echo "System update and pacakges installation .." salt-call state.apply init-repo # Login to /e/ registry | not necessary when going public docker login registry.gitlab.e.foundation:5000 Loading
bootstrap-mail-drive.sh 0 → 100644 +25 −0 Original line number Diff line number Diff line #!/bin/bash ################################################################################ # closed repo during test-phase, will be public later - testing with my account USER=thilo BOOTSTRAPREPO=https://${USER}@gitlab.e.foundation/e/priv/cloud/compose.git apt-get update && apt install -y --asume-yes true git salt-minion ################################################################################ # Clone repo echo "Cloning repo .." git -C /mnt clone $BOOTSTRAPREPO repo-base ln -s /mnt/repo-base /mnt/docker # Init salt-minion (masterless) cp /mnt/repo-base/deployment/salt/init-config/masterless.conf /etc/salt/minion.d/ # Run repo init (might run a few minutes) echo "System update and pacakges installation .." salt-call state.apply init-repo # Login to /e/ registry | not necessary when going public docker login registry.gitlab.e.foundation:5000