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