maybe works?
This commit is contained in:
		
							parent
							
								
									c6c113496b
								
							
						
					
					
						commit
						a320e0aa36
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -10,10 +10,10 @@ subnet 192.168.1.0 netmask 255.255.255.0 { \ | ||||||
|     range 192.168.1.10 192.168.1.100; \ |     range 192.168.1.10 192.168.1.100; \ | ||||||
|     option routers 192.168.1.1; \ |     option routers 192.168.1.1; \ | ||||||
|     option subnet-mask 255.255.255.0; \ |     option subnet-mask 255.255.255.0; \ | ||||||
|     option domain-name-servers 8.8.8.8, 8.8.4.4; \ |     option domain-name-servers 192.168.1.1; \ | ||||||
| }" | }" | ||||||
| 
 | 
 | ||||||
| echo -e 'INTERFACES="enp0s3"' | sudo tee /etc/default/isc-dhcp-server >/dev/null | echo -e "INTERFACES='$1'" | sudo tee /etc/default/isc-dhcp-server >/dev/null | ||||||
| 
 | 
 | ||||||
| echo -e "$config" | sudo tee /etc/dhcp/dhcpd.conf >/dev/null | echo -e "$config" | sudo tee /etc/dhcp/dhcpd.conf >/dev/null | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue