yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92236
[Bug 1901761] Re: update user password fails when machine does not have openssh installed
Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3802
** Bug watch added: github.com/canonical/cloud-init/issues #3802
https://github.com/canonical/cloud-init/issues/3802
** Changed in: cloud-init
Status: Triaged => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1901761
Title:
update user password fails when machine does not have openssh
installed
Status in cloud-init:
Expired
Bug description:
When creating a machine with the following userdata:
```
#cloud-config
chpasswd:
list: |
ubuntu:passw0rd
ssh_pwauth: True
```
cloud-init will fails if the machine does not have openssh installed
on it. That happens because pasasword module will try to run the
following command:
```
service ssh restart
```
Which will fail if the machine does not have openssh installed.
How to reproduce:
Just launch an lxd vm with the provided userdata using the following
image as base: `images:ubuntu/16.04/cloud`
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1901761/+subscriptions
References