Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
L
lxc
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • lxc
  • Repository

Switch branch/tag
  • lxc
  • src
  • tests
  • lxc-test-createconfig
Find file
BlameHistoryPermalink
  • Serge Hallyn's avatar
    update hwaddr to fill in xx at create time · e6744e9b
    Serge Hallyn authored Jan 20, 2015
    Commit 67702c21 regressed the case where lxc-create use a config
    file with 'xx:xx' in lxc.network.hwaddr, so that the 'xx' were
    preserved in the container's configuration file.  Expand those
    in the unexpanded_config file whenever we are reading a
    config file which is not coming from a 'lxc.include'.
    
    The config file will have \n-terminated lines, so update
    rand_complete_hwaddr to also stop on \n.
    
    Add a test case to make sure xx gets expanded at lxc-create.
    Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
    Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
    e6744e9b
lxc-test-createconfig 1.21 KB
EditWeb IDE
×

Replace lxc-test-createconfig

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.