Skip to content

[Bug] - cloud-init incorrectly adding multiple routes to systemd  #765

Open
@aadhik

Description

@aadhik

AL2023 has cloud-init version 22.2.2 which is incorrectly writing the Routes into systemd-network, if we open /etc/systemd/network/10-cloud-init-eth0.network

We see the following:
[Route]
Destination=168.94.58.128/26
Destination=172.29.3.128/26
Gateway=172.29.18.1

This section is incorrectly configured as it should be:

[Route]
Destination=168.94.58.128/26
Gateway=172.29.18.1

[Route]
Destination=172.29.3.128/26
Gateway=172.29.18.1
Instance ID(s):

Resolution is to upgrade to cloud-init version 23.1
canonical/cloud-init#1868

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions