Public bug reported:

I noticed on an azure instance that I had a file 
/etc/cloud/cloud.cfg.d/91_walinuxagent.cfg.
$ cat /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg
# This configuration file is provided by the WALinuxAgent package.
datasource_list: [ Azure ]


This puts unnecessary and even harmful configuration into cloud-init.

Consider:
 a.) launch a container
 b.) install walinuxagent
 c.) reboot -- FAIL

on reboot, cloud-init will not find the NoCloud datasource that it
should use in an lxc container.

Additionally, this is not really necessary any  more with the 'ds-
identify' code that is in cloud-init as it will identify the platform
and do effectively the same thing as the static config.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: walinuxagent 2.2.12-0ubuntu1~17.04.1
ProcVersionSignature: User Name 4.10.0-24.28-generic 4.10.15
Uname: Linux 4.10.0-24-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
Date: Tue Jun 27 13:55:58 2017
ProcEnviron:
 TERM=screen.xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: walinuxagent (Ubuntu)
     Importance: Medium
         Status: Confirmed


** Tags: amd64 apport-bug third-party-packages uec-images zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1700769

Title:
  should not provide /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1700769/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to