seprate admin init on a script
This commit is contained in:
		
							parent
							
								
									29d95d0f68
								
							
						
					
					
						commit
						75d9d95483
					
				
							
								
								
									
										2
									
								
								init-incus.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								init-incus.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,2 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
incus admin init --preseed < init-preseed.yml
 | 
			
		||||
@ -1,7 +1,5 @@
 | 
			
		||||
# This file contains the complete preseed configuration for Incus.
 | 
			
		||||
config:
 | 
			
		||||
  # This is for global daemon configuration
 | 
			
		||||
  core.https_address: :8443 # We will set this here instead of a separate command
 | 
			
		||||
  core.https_address: :8443
 | 
			
		||||
 | 
			
		||||
storage_pools:
 | 
			
		||||
  - name: default
 | 
			
		||||
@ -22,11 +20,11 @@ profiles:
 | 
			
		||||
  - name: default
 | 
			
		||||
    devices:
 | 
			
		||||
      root:
 | 
			
		||||
        path: /
 | 
			
		||||
        pool: default
 | 
			
		||||
        type: disk
 | 
			
		||||
        pool: default
 | 
			
		||||
        path: /
 | 
			
		||||
      eth0:
 | 
			
		||||
        name: eth0
 | 
			
		||||
        type: nic
 | 
			
		||||
        nictype: bridged
 | 
			
		||||
        parent: incusbr0
 | 
			
		||||
        type: nic
 | 
			
		||||
        name: eth0
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user