Browse Source

pass environment during installation

merge-requests/39/merge
Steven Foerster 5 years ago
parent
commit
936822d777
  1. 6
      README.md
  2. 2
      scripts/subinstallers/docker.sh

6
README.md

@ -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

2
scripts/subinstallers/docker.sh

@ -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

Loading…
Cancel
Save