summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libvirt/resource_libvirt_network_test.go2
-rw-r--r--website/docs/r/network.markdown2
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" {