Skip to content

Commit 96797fe

Browse files
authored
Merge pull request #101 from agama-project/network_improvements
Remove '#' character from the ID and add delete section
2 parents ea2f737 + e8b84fc commit 96797fe

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

docs/user/unattended/profile/network.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff 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+
```

0 commit comments

Comments
 (0)