autoinstall
This commit is contained in:
		
							
								
								
									
										18
									
								
								ubuntu-packer/http/autoinstall.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								ubuntu-packer/http/autoinstall.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
#cloud-config
 | 
			
		||||
autoinstall:
 | 
			
		||||
  version: 1
 | 
			
		||||
  identity:
 | 
			
		||||
    hostname: ubuntu
 | 
			
		||||
    username: ubuntu
 | 
			
		||||
    password: "genius"
 | 
			
		||||
  ssh:
 | 
			
		||||
    install-server: yes
 | 
			
		||||
    authorized-keys:
 | 
			
		||||
      - "ssh-ed25519 AAAAC3Nza..."
 | 
			
		||||
  packages:
 | 
			
		||||
    - qemu-guest-agent
 | 
			
		||||
  user-data:
 | 
			
		||||
    disable_root: false
 | 
			
		||||
  late-commands:
 | 
			
		||||
    - curtin in-target -- apt-get clean
 | 
			
		||||
    - curtin in-target -- systemctl enable qemu-guest-agent
 | 
			
		||||
		Reference in New Issue
	
	Block a user