@@ -56,7 +56,6 @@ Vagrant.configure("2") do |config|
5656 cloudstack.network_id = "AAAAAAAAAAAAAAAAAAA"
5757 cloudstack.zone_id = "AAAAAAAAAAAAAAAAAAA"
5858 cloudstack.project_id = "AAAAAAAAAAAAAAAAAAA"
59- cloudstack.network_type = "Advanced" # or "Basic"
6059 end
6160end
6261```
@@ -82,7 +81,6 @@ Vagrant.configure("2") do |config|
8281 cloudstack.name = "doge-is-a-hostname-now"
8382 # Sadly there is currently no support for the project api in fog.
8483 cloudstack.project_id = "AAAAAAAAAAAAAAAAAAA"
85- cloudstack.network_type = "Advanced" # or "Basic"
8684 end
8785end
8886```
@@ -130,7 +128,6 @@ to update UUIDs in your Vagrantfile. If both are specified, the id parameter tak
130128* ` domain_id ` - Domain id to launch the instance into
131129* ` network_id ` - Network uuid that the instance should use
132130* ` network_name ` - Network name that the instance should use
133- * ` network_type ` - CloudStack Network Type(default: Advanced)
134131* ` project_id ` - Project uuid that the instance should belong to
135132* ` service_offering_id ` - Service offering uuid to use for the instance
136133* ` service_offering_name ` - Service offering name to use for the instance
@@ -211,9 +208,15 @@ supported with `vagrant-cloudstack`, currently. If any of these are
211208specified, Vagrant will emit a warning, but will otherwise boot
212209the Cloudstack machine.
213210
211+ ### Basic networking versus Advanced networking
212+
213+ The plugin will determine this network type dynamically from the zone.
214+ The setting ` network_type ` in the Vagrant file has been deprecated,
215+ and is silently ignored.
216+
214217### Basic Networking
215218
216- If you set the ` network_type ` to ` basic ` , you can use Security
219+ If the network type of your zone is ` basic ` , you can use Security
217220Groups and associate rules in your Vagrantfile.
218221
219222If you already have Security Groups, you can associate them to your
@@ -226,7 +229,6 @@ Vagrant.configure("2") do |config|
226229 config.vm.provider :cloudstack do |cloudstack |
227230 cloudstack.api_key = " foo"
228231 cloudstack.secret_key = " bar"
229- cloudstack.network_type = " basic"
230232 cloudstack.security_group_ids = [' aaaa-bbbb-cccc-dddd' , ' 1111-2222-3333-4444' ]
231233 end
232234end
@@ -241,7 +243,6 @@ Vagrant.configure("2") do |config|
241243 config.vm.provider :cloudstack do |cloudstack |
242244 cloudstack.api_key = " foo"
243245 cloudstack.secret_key = " bar"
244- cloudstack.network_type = " basic"
245246 cloudstack.security_group_names = ['
246247min_fantastiska_security_group' , ' another_security_grupp' ]
247248 end
0 commit comments