pass environment during installation

This commit is contained in:
Steven Foerster
2020-08-05 16:41:25 -04:00
parent a34d9c5cac
commit 936822d777
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -76,7 +76,7 @@ Recommended System Specifications:
Starting from base installation Starting from base installation
``` ```
git clone https://gitlab.com/cyber5k/mistborn.git git clone https://gitlab.com/cyber5k/mistborn.git
sudo bash ./mistborn/scripts/install.sh sudo -E bash ./mistborn/scripts/install.sh
``` ```
Get default admin Wireguard profile Get default admin Wireguard profile
@@ -123,7 +123,7 @@ Mistborn is regularly tested on Ubuntu 18.04 LTS (DigitalOcean droplet with 2 GB
Clone the git repository and run the install script: Clone the git repository and run the install script:
``` ```
git clone https://gitlab.com/cyber5k/mistborn.git git clone https://gitlab.com/cyber5k/mistborn.git
sudo bash ./mistborn/scripts/install.sh sudo -E bash ./mistborn/scripts/install.sh
``` ```
Running `install.sh` will do the following: Running `install.sh` will do the following:
@@ -157,7 +157,7 @@ See the environment variables needed in `./scripts/noninteractive/.install_bareb
This will perform a noninteractive install with the default environment variables set in `.install_barebones`. This will perform a noninteractive install with the default environment variables set in `.install_barebones`.
``` ```
git clone https://gitlab.com/cyber5k/mistborn.git git clone https://gitlab.com/cyber5k/mistborn.git
sudo bash -c "source ./mistborn/scripts/noninteractive/.install_barebones && ./mistborn/scripts/install.sh" sudo -E bash -c "source ./mistborn/scripts/noninteractive/.install_barebones && ./mistborn/scripts/install.sh"
``` ```
# Post-Installation # Post-Installation
+1 -1
View File
@@ -16,5 +16,5 @@ fi
# set docker-compose path used in Mistborn # set docker-compose path used in Mistborn
if [ ! -f /usr/local/bin/docker-compose ]; then if [ ! -f /usr/local/bin/docker-compose ]; then
sudo ln -s $(which docker-compose) /usr/local/bin/docker-compose sudo -E ln -s $(which docker-compose) /usr/local/bin/docker-compose
fi fi