Updated deploy user credentials and docs
This commit is contained in:
		
							parent
							
								
									0e5ec05bd3
								
							
						
					
					
						commit
						64044f7cc4
					
				|  | @ -4,7 +4,7 @@ Generic server bootstrap to get some of the most basic utilities installed that | |||
| ## Usage | ||||
| ```bash | ||||
| #!/usr/bin/env bash | ||||
| ## source <(curl -s https://digitalocean-user-data:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/strap.sh) defaults-bootstrap | ||||
| ## source <(curl -s https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/strap.sh) defaults-bootstrap | ||||
| ``` | ||||
| Copy the above into any server post install scripts box and it should get things going pretty quickly. | ||||
| 
 | ||||
|  | @ -13,5 +13,5 @@ Copy the above into any server post install scripts box and it should get things | |||
| For example if you wanted to deploy to ovh you would use the following example. | ||||
| ```bash | ||||
| #!/usr/bin/env bash | ||||
| source <(curl -s https://imp-bootstap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/strap.sh) bootstrap ovh gluster nosalt | ||||
| source <(curl -s https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/strap.sh) bootstrap ovh gluster nosalt | ||||
| ``` | ||||
|  |  | |||
|  | @ -122,6 +122,6 @@ chmod +x /usr/local/bin/ctop | |||
| 
 | ||||
| ## This may no longer be required going forward, it'll be better to call it on first login instead with args. | ||||
|   ## Force install ohmyzsh on first login | ||||
|   # curl -o /root/zsh-setup.sh https://imp-bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/do-userdata/raw/branch/main/scripts/zsh-setup.sh | ||||
|   # curl -o /root/zsh-setup.sh https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/do-userdata/raw/branch/main/scripts/zsh-setup.sh | ||||
|   # echo zsh-setup >> ~/.profile | ||||
|   # source ~/.profile | ||||
							
								
								
									
										12
									
								
								strap.sh
								
								
								
								
							
							
						
						
									
										12
									
								
								strap.sh
								
								
								
								
							|  | @ -4,12 +4,12 @@ set -e | |||
| ## Basic deps | ||||
| DEBIAN_FRONTEND=noninteractive apt-get install -y curl wget | ||||
| 
 | ||||
| ## source <(curl -s https://imp-bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/strap.sh) defaults-bootstrap | ||||
| ## source <(curl -s https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colinaa/bootstrap-scripts/raw/branch/main/strap.sh) defaults-bootstrap | ||||
| # curl -sL https://sentry.io/get-cli/ | bash | ||||
| # echo 'export SENTRY_DSN=https://4d089076433c4a7aa31bbb2741f053fe@sentry.aenow.com/3' | ||||
| # eval "$(sentry-cli bash-hook)" | ||||
| curl -o /usr/local/sbin/zsh-setup https://imp-bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/scripts/zsh-setup.sh && chmod +x /usr/local/sbin/zsh-setup | ||||
| curl -o /usr/local/sbin/bootstrap https://imp-bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/scripts/bootstrap.sh && chmod +x /usr/local/sbin/bootstrap | ||||
| curl -o /usr/local/sbin/zsh-setup https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colinaa/bootstrap-scripts/raw/branch/main/scripts/zsh-setup.sh && chmod +x /usr/local/sbin/zsh-setup | ||||
| curl -o /usr/local/sbin/bootstrap https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colinaa/bootstrap-scripts/raw/branch/main/scripts/bootstrap.sh && chmod +x /usr/local/sbin/bootstrap | ||||
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLT6xx+pXQl6UfiVe0VTZkC45E/2YE/zfNrWb7mLMtI computer@dewitt.improvingmipractices.com" > /root/.ssh/authorized_keys | ||||
| 
 | ||||
| ## Run bootstrap | ||||
|  | @ -30,12 +30,12 @@ set -e | |||
| ## Basic deps | ||||
| DEBIAN_FRONTEND=noninteractive apt-get install -y curl wget | ||||
| 
 | ||||
| ## source <(curl -s https://imp-bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/strap.sh) defaults-bootstrap | ||||
| ## source <(curl -s https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colinaa/bootstrap-scripts/raw/branch/main/strap.sh) defaults-bootstrap | ||||
| # curl -sL https://sentry.io/get-cli/ | bash | ||||
| # echo 'export SENTRY_DSN=https://4d089076433c4a7aa31bbb2741f053fe@sentry.aenow.com/3' | ||||
| # eval "$(sentry-cli bash-hook)" | ||||
| curl -o /usr/local/sbin/zsh-setup https://imp-bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/scripts/zsh-setup.sh && chmod +x /usr/local/sbin/zsh-setup | ||||
| curl -o /usr/local/sbin/bootstrap https://imp-bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colin_/bootstrap-scripts/raw/branch/main/scripts/bootstrap.sh && chmod +x /usr/local/sbin/bootstrap | ||||
| curl -o /usr/local/sbin/zsh-setup https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colinaa/bootstrap-scripts/raw/branch/main/scripts/zsh-setup.sh && chmod +x /usr/local/sbin/zsh-setup | ||||
| curl -o /usr/local/sbin/bootstrap https://bootstrap:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/colinaa/bootstrap-scripts/raw/branch/main/scripts/bootstrap.sh && chmod +x /usr/local/sbin/bootstrap | ||||
| echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLT6xx+pXQl6UfiVe0VTZkC45E/2YE/zfNrWb7mLMtI computer@dewitt.improvingmipractices.com" > /root/.ssh/authorized_keys | ||||
| 
 | ||||
| ## Run bootstrap | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue