mirror of
				https://github.com/fog/fog.git
				synced 2022-11-09 13:51:43 -05:00 
			
		
		
		
	add some more explanation to the server creation process
This commit is contained in:
		
							parent
							
								
									74233652c7
								
							
						
					
					
						commit
						c4f4cf647f
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -164,9 +164,10 @@ module Fog
 | 
			
		|||
          }
 | 
			
		||||
          options.delete_if {|key, value| value.nil?}
 | 
			
		||||
 | 
			
		||||
          # If subnet is defined we are working on a virtual private cloud.
 | 
			
		||||
          # subnet & security group cannot co-exist. I wish VPC just ignored
 | 
			
		||||
          # the security group parameter instead, it would be much easier!
 | 
			
		||||
          # If subnet is defined then this is a Virtual Private Cloud.
 | 
			
		||||
          # subnet & security group cannot co-exist. Attempting to specify 
 | 
			
		||||
          # both subnet and groups will cause an error.  Instead please make
 | 
			
		||||
          # use of Security Group Ids when working in a VPC.
 | 
			
		||||
          if subnet_id
 | 
			
		||||
            options.delete('SecurityGroup')
 | 
			
		||||
          else
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue