File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed
docs/user/unattended/profile Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ includes the list of ports to connect.
121121 network: {
122122 connections: [
123123 {
124- id: "Bridge #0 ",
124+ id: "Bridge0 ",
125125 interface: "br0",
126126 bridge: {
127127 ports: ["eth0", "eth1"]
@@ -157,7 +157,7 @@ the list of ports to connect.
157157 network: {
158158 connections: [
159159 {
160- id: "Bond #0 ",
160+ id: "Bond0 ",
161161 interface: "bond0",
162162 bond: {
163163 ports: ["eth0", "eth1"],
@@ -212,3 +212,27 @@ To create a VLAN you need to include a `vlan` section supporting the following f
212212 }
213213}
214214```
215+
216+ ## Deleting network connections
217+
218+ As commented in previous sections, the ` status ` field allows to bring ` up ` , ` down ` or even ` remove `
219+ an existing connection. It might be useful to delete an existing connection before creating a new
220+ one specially when it is already applied to an specific interface.
221+
222+ ``` json
223+ {
224+ "network" : {
225+ "connections" : [
226+ {
227+ "id" : " default" ,
228+ "status" : " removed"
229+ },
230+ {
231+ "id" : " enp1s0" ,
232+ "interface" : " enp1s0" ,
233+ "status" : " up"
234+ }
235+ ]
236+ }
237+ }
238+ ```
You can’t perform that action at this time.
0 commit comments