why does cloud-init run in single user mode?

Asked by David Quattlebaum

When I choose single user mode, I expected cloud-init to not run yet it does.

How can this be prevented?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu cloud-init Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a

Thanks

Revision history for this message
David Quattlebaum (drq883) said :
#2

I replied in the email but didn't see it added here. Hope it is added twice.

I guess I should have included some of this in the original question.

% lsb_release -a; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
Linux itdeploy59 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You can edit the run levels using the /etc/rcX folders. The K files are processes that are (k)illed and the S files are (s)tarted. Just remove the file to start the service under rc.1

You may want to make sure it is started in other levels though or the service won't start

Can you help with this problem?

Provide an answer of your own, or ask David Quattlebaum for more information if necessary.

To post a message you must log in.