Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions docs/user/unattended/profile/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ includes the list of ports to connect.
network: {
connections: [
{
id: "Bridge #0",
id: "Bridge0",
interface: "br0",
bridge: {
ports: ["eth0", "eth1"]
Expand Down Expand Up @@ -157,7 +157,7 @@ the list of ports to connect.
network: {
connections: [
{
id: "Bond #0",
id: "Bond0",
interface: "bond0",
bond: {
ports: ["eth0", "eth1"],
Expand Down Expand Up @@ -212,3 +212,27 @@ To create a VLAN you need to include a `vlan` section supporting the following f
}
}
```

## Deleting network connections

As commented in previous sections, the `status` field allows to bring `up`, `down` or even `remove`
an existing connection. It might be useful to delete an existing connection before creating a new
one specially when it is already applied to an specific interface.

```json
{
"network": {
"connections": [
{
"id": "default",
"status": "removed"
},
{
"id": "enp1s0",
"interface": "enp1s0",
"status": "up"
}
]
}
}
```