"optional: true" setting doesn't work for me, maybe because I use
Network Manager:
$ cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
eno0:
dhcp4: true
dhcp6: true
optional: true
renderer: NetworkManager
Thanks Nick, your suggestion works fine. Let's see where it makes sense
to add the overlay to our images.
** Changed in: cloud-init (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to
cloud-init could check the availability of the carrier at installation
time and add 'optional: true' in cloudinit/net/netplan.py. But this
would only reflect the state at the time of installation.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages,
As Yu said on the upstream bug, this is the expected default behavior
for systemd-networkd-wait-online. You can make it more tailored to your
use case, e.g. by writing an override like this:
# /etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf
[Service]
ExecStart=
Probably cloud-init's cloudinit/net/netplan.py should add "optional:
true" to interfaces that have no carrier.
** Changed in: netplan.io (Ubuntu)
Status: Incomplete => Invalid
** Also affects: cloud-init (Ubuntu)
Importance: Undecided
Status: New
** Changed in: systemd (Ubuntu)
The netplan configuration is in /etc/netplan/50-cloud-init.yaml.
"optional: true" works, with "ignore-carrier: true" I still get the
failure.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
The RequiredForOnline=no flag can be controlled using Netplan's "optional:
true" setting.
In your specific case (cable not connected) you might also be interested in
Netplan's "ignore-carrier: true" setting, which brings up the interface
regardless.
Please check /etc/netplan/ for those
The following files where created when installing the system:
/run/systemd/network/10-netplan-end0.network
[Match]
Name=end0
[Network]
DHCP=ipv4
LinkLocalAddressing=ipv6
[DHCP]
RouteMetric=100
UseMTU=true
/run/systemd/network/10-netplan-end1.network
[Match]
Name=end1
[Network]
DHCP=ipv4
** Also affects: netplan.io (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2045756
Title:
Upstream issue: https://github.com/systemd/systemd/issues/30345
** Bug watch added: github.com/systemd/systemd/issues #30345
https://github.com/systemd/systemd/issues/30345
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to
10 matches
Mail list logo