mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	kvm: fix regression 5a52ca78ae5e165211c618525613c3d62cfd1b28
Somehow the commit 5a52ca78ae5e165211c618525613c3d62cfd1b28 was reverted so cloud-init templates don't work on arm64 anymore :( Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> (cherry picked from commit 912aa2441e3fecb6be15ecd441b11a7dc5c93d9e) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
		
							parent
							
								
									c61a5eb430
								
							
						
					
					
						commit
						2b49a2550e
					
				@ -249,9 +249,7 @@ public class LibvirtVMDef {
 | 
			
		||||
                        guestDef.append("<boot dev='" + bo + "'/>\n");
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                if (_arch == null || !_arch.equals("aarch64")) {
 | 
			
		||||
                    guestDef.append("<smbios mode='sysinfo'/>\n");
 | 
			
		||||
                }
 | 
			
		||||
                guestDef.append("<smbios mode='sysinfo'/>\n");
 | 
			
		||||
                guestDef.append("</os>\n");
 | 
			
		||||
                if (iothreads) {
 | 
			
		||||
                    guestDef.append(String.format("<iothreads>%s</iothreads>", NUMBER_OF_IOTHREADS));
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user