Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openstack-debian-images
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenStackOpenStack
  • debian
  • openstack-debian-images
  • Merge requests
  • !4

Add type=cloud-init for --static-iface option

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Kirill Shestakov requested to merge cyril-guest/openstack-debian-images:add_static_iface_cloud_init_type into debian/stein Aug 03, 2019
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

When image is built without --static-iface option and static address is set up by cloud-init an interface can have duplicate stanzas in both /etc/network/interfaces and in /etc/network/interfaces.d/50-cloud-init. In this case dhclient is launched for itnerface with static address configured by cloud-init.

This commit introduces --static-iface type=cloud-init option which just writes loopback config and source /etc/network/interfaces.d/* in /etc/network/interfaces

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: add_static_iface_cloud_init_type