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

dracut: Ensure that /etc/systemd/network/ exists to write networkd unit #15

Merged
merged 1 commit into from Jun 30, 2020

Commits on Jun 29, 2020

  1. dracut: Ensure that /etc/systemd/network/ exists to write networkd unit

    The /etc/systemd/network/ folder didn't exist by default, which caused
    static IP assignment via the kernel command line being broken
    (The format ip=<ip>::<gateway>:<netmask>:<hostname>:<iface>:none[:<dns1>[:<dns2>]]
    is documented in https://docs.flatcar-linux.org/ignition/network-configuration/#using-static-ip-addresses-with-ignition
    and parsed in the initramfs).
    Create the folder before trying to write a networkd unit into it.
    
    Reported in flatcar/Flatcar#148
    pothos committed Jun 29, 2020
    Copy the full SHA
    cbc03f6 View commit details
    Browse the repository at this point in the history