Amazon linux 2023 is configured through systemd. However amazon linux guest in vagrant inherits from redhat, which is configured through network scripts (which was valid on amazon linux 2).
So this PR adds support for systemd networkd for AL2023 while keeping compatibility with network-script for AL2.
Amazon linux 2023 is configured through systemd. However amazon linux guest in vagrant inherits from redhat, which is configured through network scripts (which was valid on amazon linux 2).
So this PR adds support for systemd networkd for AL2023 while keeping compatibility with network-script for AL2.