Skip to content
Snippets Groups Projects
bootstrap.sh 474 B
#!/bin/bash -x

GITPROJ=https://chaos.expert/ccc-ffm/4Refugees-InternetCafe


if [ "$1" != "RUNME" ]; then

    #pull myself from git repo
    wget "${GITPROJ}/raw/master/bootstrap.sh" -O /root/bootstrap.sh
    exec /root/bootstrap.sh RUNME
fi



echo yay


exit

mv /etc/puppet /etc/puppet.orig

git clone https://chaos.expert/ccc-ffm/4Refugees-InternetCafe.git /etc/puppet

cd /etc/puppet
git submodule init
git submodule update
puppet apply /etc/puppet/manifests/site.pp