Add install script
This commit is contained in:
parent
828ce3c60c
commit
dc6d401815
|
@ -1,8 +0,0 @@
|
||||||
To install a profile:
|
|
||||||
```
|
|
||||||
git clone https://git.augustogunsch.com/augusto/archinstall-profiles
|
|
||||||
cd archinstall-profiles/<PROFILE>
|
|
||||||
archinstall --config user_configuration.json --disk-layout user_disk_layout.json --creds user_credentials.json
|
|
||||||
```
|
|
||||||
|
|
||||||
Change user password and confirm
|
|
|
@ -104,8 +104,8 @@
|
||||||
"timezone": "Europe/Warsaw",
|
"timezone": "Europe/Warsaw",
|
||||||
"version": "2.5.1",
|
"version": "2.5.1",
|
||||||
"custom-commands": [
|
"custom-commands": [
|
||||||
"sudo -u augusto sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh; ./configure-nvim.sh'",
|
"sudo -u augusto sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh'",
|
||||||
"sudo -u root sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh; ./configure-nvim.sh'",
|
"sudo -u root sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh'",
|
||||||
"sed -i 's/export PROMPT=.*$/export PROMPT='\"'\"'%B%F{63}[%F{68}%n@%m %F{white}%~%F{63}]$%b%f '\"'\"'/' /root/.zshrc",
|
"sed -i 's/export PROMPT=.*$/export PROMPT='\"'\"'%B%F{63}[%F{68}%n@%m %F{white}%~%F{63}]$%b%f '\"'\"'/' /root/.zshrc",
|
||||||
"chsh -s /usr/bin/zsh root; chsh -s /usr/bin/zsh augusto",
|
"chsh -s /usr/bin/zsh root; chsh -s /usr/bin/zsh augusto",
|
||||||
"sudo -u augusto sh -c 'mkdir /tmp/aur; cd /tmp/aur; git clone https://aur.archlinux.org/yay.git; cd yay; makepkg'",
|
"sudo -u augusto sh -c 'mkdir /tmp/aur; cd /tmp/aur; git clone https://aur.archlinux.org/yay.git; cd yay; makepkg'",
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[ -z "$1" ] && echo 'usage: ./install <PROFILE>' && exit 1
|
||||||
|
|
||||||
|
archinstall \
|
||||||
|
--config user_configuration.json \
|
||||||
|
--disk-layout user_disk_layout.json \
|
||||||
|
--creds user_credentials.json
|
Loading…
Reference in New Issue