Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lxd/device/nic: fix default IP for routed NIC (ipv4.host_address) #13170

Merged
merged 2 commits into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion doc/config_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ Possible values are `auto` and `none`.
```

```{config:option} ipv4.host_address device-nic-routed-device-conf
:defaultdesc: "`192.254.0.1`"
:defaultdesc: "`169.254.0.1`"
:shortdesc: "IPv4 address to add to the host-side `veth` interface"
:type: "string"

Expand Down
2 changes: 1 addition & 1 deletion lxd/device/nic.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ func nicValidationRules(requiredFields []string, optionalFields []string, instCo
//
// ---
// type: string
// defaultdesc: `192.254.0.1`
// defaultdesc: `169.254.0.1`
// shortdesc: IPv4 address to add to the host-side `veth` interface
"ipv4.host_address": validate.Optional(validate.IsNetworkAddressV4),
// lxdmeta:generate(entities=device-nic-routed; group=device-conf; key=ipv6.host_address)
Expand Down
2 changes: 1 addition & 1 deletion lxd/metadata/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@
},
{
"ipv4.host_address": {
"defaultdesc": "`192.254.0.1`",
"defaultdesc": "`169.254.0.1`",
"longdesc": "",
"shortdesc": "IPv4 address to add to the host-side `veth` interface",
"type": "string"
Expand Down
Loading