<div dir="ltr">Hi, Oriol,<div><br></div><div>Currently the cloud-init service is enabled by systemd generator /lib/systemd/system-generators/cloud-init-generator. And it is read-only, can't be modified. So systemd will always try to generator the cloud-init service file.</div><div><br></div><div>If you want to disable cloud-init service, there is still one way to do so:</div><div>Add kernel parameter "cloud-init=disabled" to grub.cfg.</div><div><br></div><div>Once the cloud-init systemd-generator detect this kernel parameter, it would stop generate the cloud-init service file.</div><div><br></div><div>I hope this will help.</div><div><br></div><div>Best.</div><div>Stanley.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 27, 2016 at 3:01 PM, Oriol Rius <span dir="ltr"><<a href="mailto:oriol.rius@gmail.com" target="_blank">oriol.rius@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>



<div>Hi, I'm working with Ubuntu Snappy on a Dell Gateway and I want to remove next services from the systemd:<div><br></div><div>cloud-config.service                       enabled<br>cloud-final.service                        enabled<br>cloud-init-local.service                   enabled<br>cloud-init.service                         enabled<br></div><div><br></div><div>Using "systemctl disable <servide_name>" I disable the services and they are correctly deactivated and soft link is removed from their /etc/systemd directory. </div><div><br></div><div>But when I reboot the box everything is restored, I don't know where Snappy changes that. Of course, I remounted the root partition as a 'rw' and later I returned to 'ro' but there is a process o something that restores the original services.</div><div><br></div><div>Thank you for your ideas.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Oriol Rius</div></font></span></div><br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Chen-Han (Stanley) Hsiao <span style="font-size:12.8000001907349px">蕭辰翰</span><div>Software Engineer / Commercial Engineering - PC & Core</div><div><a href="mailto:stanley.hsiao@canonical.com" target="_blank">stanley.hsiao@canonical.com</a></div><div><a href="https://launchpad.net/~swem" target="_blank">https://launchpad.net/~swem</a></div><div><br></div><div><span style="font-size:12.8000001907349px">Canonical Ltd.</span><br></div><div>Room D, 46F, No. 7, Xin Yi Rd., Sec.5, Taipei 101, 11049 Taiwan<br></div><div>11049 台北市信義區信義路 5 段 7 號 46 樓 D 室<br></div><div><span style="font-size:12.8000001907349px">Phone: 886-2-</span>8729-<span style="font-size:12.8000001907349px">6811</span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>