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

Prepare switch from legacy network interfaces to systemd-networkd #110

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Oct 31, 2019

  1. Prepare switch from legacy network interfaces to systemd-networkd

    By default grml-debootstrap used the host /etc/network/interfaces file
    to configure the network of the target system. This might have been ok,
    when grml-debootrap was primarily run form a Grml live system. But this
    might expose to much unwanted information about the host system when run
    without it.
    
    If the user really needs to copy any files from the host to the target
    system, she should use a post-script.
    
    While at it we also removed copying the interfaces.examples
    functionality.
    
    If no networking option is given, the --defaultinterfaces option will be
    the new default.
    
    We now provide a systemd-networkd configuration enabling DHCP on all
    ethernet network devices next to the legacy /etc/network/interfaces
    which only enables DHCP on eth0 (which does not work when using the
    predictable devices names).
    
    NOTE: systemd-networkd is currently not enabled by default.
    jkirk committed Oct 31, 2019
    Configuration menu
    Copy the full SHA
    e56284b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e1cd1c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a8e642 View commit details
    Browse the repository at this point in the history
  4. Add new configuration option --hostinterfaces

    The new option --hostinterfaces imitates to old default behavior of
    grml-debootstrap where the host network configuration was copied from the host
    to target system. We now default to --defaultinterfaces where
    /etc/network/interfaces and /etc/network/systemd/80-dhcp.network are installed.
    
    The option conflicts with --defaultinterfaces and --nointerfaces.
    jkirk committed Oct 31, 2019
    Configuration menu
    Copy the full SHA
    3289386 View commit details
    Browse the repository at this point in the history