2018-11-27 09:08:03 +01:00
|
|
|
#! /bin/bash
|
2018-11-23 10:17:31 +01:00
|
|
|
# fail immediately on error
|
|
|
|
set -e
|
2021-02-23 09:04:11 +01:00
|
|
|
CURLOPT=${CURLOPT:-"--location --remote-time --remote-name --show-error --silent --fail --tlsv1.2"}
|
2017-10-12 14:02:17 +02:00
|
|
|
|
2018-11-23 10:10:17 +01:00
|
|
|
# root part
|
2021-02-23 09:59:33 +01:00
|
|
|
# shellcheck disable=SC2086
|
2021-02-23 09:06:10 +01:00
|
|
|
curl $CURLOPT https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-root.sh \
|
2021-02-23 09:04:11 +01:00
|
|
|
&& chmod +x bootstrap-root.sh
|
2018-03-07 16:27:52 +01:00
|
|
|
|
2018-11-23 10:10:17 +01:00
|
|
|
# userspace part
|
2021-02-23 09:59:33 +01:00
|
|
|
# shellcheck disable=SC2086
|
2021-02-23 09:06:10 +01:00
|
|
|
curl $CURLOPT https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-user.sh \
|
2021-02-23 09:04:11 +01:00
|
|
|
&& chmod +x bootstrap-user.sh
|