Add support for variable repo and refs (#23)
* Add ability to define repo / refs to use * Add bare mode
This commit is contained in:
1 parent
f6468f8cc6
commit
35bd1df498
4 files changed
+37
-2
No files matched your search
@@ -8,6 +8,9 @@ chroot_bash() {
|
||||
OMARCHY_USER_EMAIL="$(<user_email_address.txt)" \
|
||||
USER="$OMARCHY_USER" \
|
||||
HOME="/home/$OMARCHY_USER" \
|
||||
OMARCHY_REPO="$(<omarchy_installer_repo.txt)" \
|
||||
OMARCHY_REF="$(<omarchy_installer_ref.txt)" \
|
||||
OMARCHY_BARE="$(<omarchy_bare.txt)" \
|
||||
/bin/bash "$@"
|
||||
}
|
||||
|
||||
@@ -65,5 +68,5 @@ EOF
|
||||
chmod 440 /mnt/etc/sudoers.d/99-omarchy-installer
|
||||
|
||||
# Run Omarchy web installer
|
||||
chroot_bash -lc "wget -qO- https://omarchy.org/install-dev | bash"
|
||||
chroot_bash -lc "wget -qO- https://omarchy.org/install | bash"
|
||||
fi
|
||||
Reference in new issue
Block a user