[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#867921: cloud-init: Network configuration doesn't work



Package: cloud-init
Version: 0.7.9-2
Severity: normal

Dear Maintainer,

Cloud-init writes '/etc/network/interfaces.d/50-cloud-init.cfg' with interfaces
'eth0' and 'lo'. When networking.service starts or restarts, it does not bring
up 'eth0'. But if I rename 50-cloud-init.cfg -> 50-cloud-init, it starts to
work. Also, changing the content of '/etc/network/interfaces' file to
'include /etc/network/interfaces.d/*' makes it work without renaming.

'/etc/network/interfaces.d/50-cloud-init.cfg' (and anything with an extension)
seems to be ignored by networking.service

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.10.105-gd5430300cac (SMP w/6 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cloud-init depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  gdisk                  1.0.1-1
ii  ifupdown               0.8.19
ii  init-system-helpers    1.48
ii  lsb-base               9.20161125
ii  lsb-release            9.20161125
ii  net-tools              1.60+git20161116.90da8a0-1
ii  procps                 2:3.3.12-3
ii  python3                3.5.3-1
ii  python3-configobj      5.0.6-2
ii  python3-jinja2         2.8-1
ii  python3-jsonpatch      1.19-4
ii  python3-oauthlib       2.0.1-1
ii  python3-prettytable    0.7.2-3
ii  python3-requests       2.12.4-1
ii  python3-six            1.10.0-3
ii  python3-yaml           3.12-1

cloud-init recommends no packages.

cloud-init suggests no packages.

-- debconf information:
* cloud-init/datasources: NoCloud, Ec2


Reply to: