diff options
author | Dario Maiocchi <dmaiocchi@suse.com> | 2017-11-24 12:00:24 +0100 |
---|---|---|
committer | Alvaro <alvaro.saurin@gmail.com> | 2017-11-27 09:57:46 +0100 |
commit | a4e19162a53ec97402eba79aa1a5b28b55743cf3 (patch) | |
tree | b1af85c190913d20fd20152beb85f96fb59ca02a | |
parent | f6f1310689089c4f669229a3ac93e75fd5f573c1 (diff) | |
download | terraform-provider-libvirt-a4e19162a53ec97402eba79aa1a5b28b55743cf3.tar terraform-provider-libvirt-a4e19162a53ec97402eba79aa1a5b28b55743cf3.tar.gz |
adding documentation about network autostart
-rw-r--r-- | libvirt/resource_libvirt_network_test.go | 2 | ||||
-rw-r--r-- | website/docs/r/network.markdown | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libvirt/resource_libvirt_network_test.go b/libvirt/resource_libvirt_network_test.go index ae450012..cedcc507 100644 --- a/libvirt/resource_libvirt_network_test.go +++ b/libvirt/resource_libvirt_network_test.go @@ -87,8 +87,6 @@ func testAccCheckLibvirtNetworkDestroy(s *terraform.State) error { if rs.Type != "libvirt_network" { continue } - - // Try to find the server _, err := virtConn.LookupNetworkByUUIDString(rs.Primary.ID) if err == nil { return fmt.Errorf( diff --git a/website/docs/r/network.markdown b/website/docs/r/network.markdown index 1c2f2757..1f4698ad 100644 --- a/website/docs/r/network.markdown +++ b/website/docs/r/network.markdown @@ -74,6 +74,8 @@ The following arguments are supported: one or mode of these blocks in your network definition. You must specify one or both of `address` and `domain`. You can use either of the forms below to specify dns_forwarders: +* `autostart` - (Optional) Set to `true` to start the network on host boot up. + If not specified `false` is assumed. ```hcl resource "libvirt_network" "my_network" { |