enable swap
This commit is contained in:
		
							parent
							
								
									2a56863919
								
							
						
					
					
						commit
						71be9bb01b
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -23,7 +23,10 @@
 | 
				
			||||||
      fsType = "ext4";
 | 
					      fsType = "ext4";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  swapDevices = [ ];
 | 
					  swapDevices = [{
 | 
				
			||||||
 | 
					    device = "/var/lib/swapfile";
 | 
				
			||||||
 | 
					    size = 2048;
 | 
				
			||||||
 | 
					  }];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
 | 
					  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
 | 
				
			||||||
  # (the default) this is the recommended approach. When using systemd-networkd it's
 | 
					  # (the default) this is the recommended approach. When using systemd-networkd it's
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue