mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	CLOUDSTACK-448: Detect when running inside Xen HVM
This was reported by Jason Bausewein <jason.bausewein@tier3.com>
This commit is contained in:
		
							parent
							
								
									d251bafbd4
								
							
						
					
					
						commit
						e477e1b78d
					
				| @ -103,7 +103,7 @@ get_boot_params() { | ||||
|   [ $? -ne 0 ] && log_it "Failed to detect hypervisor type, bailing out of early init" && exit 10 | ||||
| 
 | ||||
|   case $hyp in | ||||
|      xen-domU) | ||||
|      xen-domU|xen-hvm) | ||||
|           cat /proc/cmdline > /var/cache/cloud/cmdline | ||||
|           sed -i "s/%/ /g" /var/cache/cloud/cmdline | ||||
|           ;; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user