u
This commit is contained in:
		
							parent
							
								
									edbf964ea7
								
							
						
					
					
						commit
						ad55791a24
					
				| @ -84,11 +84,11 @@ service sshd restart | ||||
| echo | ||||
| 
 | ||||
| echo "<<< Set hostname or leave blank for no change" | ||||
| read -p "<<< Set hostname = " NewHostname | ||||
| read -p "hostname = " NewHostname | ||||
| if [ $NewHostname ] | ||||
| then | ||||
|   sudo hostnamectl set-hostname $NewHostname | ||||
|   echo "127.0.0.1 $NewHostName" >> /etc/hostname | ||||
|   hostnamectl set-hostname $NewHostname | ||||
|   echo "127.0.0.1 $NewHostName" >> /etc/hosts | ||||
| else | ||||
|   echo 'Nothing changed >>>' | ||||
| fi | ||||
|  | ||||
							
								
								
									
										6
									
								
								install-debian11.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								install-debian11.sh
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | ||||
| read -p "Enter root password or leave blank for default 'MoeClub.org' >> " ROOTPWD | ||||
| 
 | ||||
| apt-get update | ||||
| apt-get install -y xz-utils openssl gawk file net-tools wget | ||||
| wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' | ||||
| sudo bash InstallNET.sh -d 11 -v 64 -a -firmware -p "$ROOTPWD" --mirror 'https://mirrors.huaweicloud.com/debian/' | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user