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

Fix Gentoo hostname bug #611

Merged
merged 3 commits into from
Oct 27, 2020
Merged

Commits on Oct 15, 2020

  1. Fix Gentoo hostname bug

    Gentoo's hostname file format instead of being just the host name
    is hostname=thename". The old code works fine when the file has no comments
    but if there is a comment the line
    
    ```
    gentoo_hostname_config = 'hostname="%s"' % conf
    ```
    
    can render an invalid hostname file that looks similar to
    
    ```
    hostname="#This is the host namehello"
    ```
    
    The fix inserts the hostname in a gentoo friendly way so that it gets
    handled by HostnameConf as a whole and comments are handled and preserved
    manuelisimo committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    d7f4f34 View commit details
    Browse the repository at this point in the history
  2. Shorten line per E501

    manuelisimo committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    4ec8df8 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2020

  1. Configuration menu
    Copy the full SHA
    c537030 View commit details
    Browse the repository at this point in the history