Skip to content

Add run dependency of network-online.target #32

@neko-neko

Description

@neko-neko

Run of SSM-agent depends on network communication.
But, startup fails because it does not depend on network-online.target at systemd startup.
For example, startup fails in the following cases.

  1. The case when you build ami, ssm-agent has been installed and is enabled on systemd
  2. Startup EC2 using created AMI
  3. Then I got an error.
connect: network is unreachable 169.254.169.254

Shoud be add dependency of network-online.target.
Here is my changes.
#33

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions