In this patch 1.) Add a line between input and output of "code-block"s 2.) Delete extra lines in the file Change-Id: Ic6639a8fa02edb0ff8c8d059d5543b269e23369c Implements: blueprint user-guides-reorganised
		
			
				
	
	
	
		
			1.1 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.1 KiB
		
	
	
	
	
	
	
	
Select hosts where instances are launched
With the appropriate permissions, you can select which host instances are launched on and which roles can boot instances on this host.
To select the host where instances are launched, use the
--availability_zone ZONE:HOSTparameter on thenova bootcommand.For example:
$ nova boot --image <uuid> --flavor m1.tiny --key_name test --availability-zone nova:server2To specify which roles can launch an instance on a specified host, enable the
create:forced_hostoption in thepolicy.jsonfile. By default, this option is enabled for only the admin role.To view the list of valid compute hosts, use the
nova hypervisor-listcommand.$ nova hypervisor-list +----+---------------------+ | ID | Hypervisor hostname | +----+---------------------+ | 1 | server2 | | 2 | server3 | | 3 | server4 | +----+---------------------+