Is it possible to build an all-snap image with an customized OS snap?
Ondrej Kubik
ondrej.kubik at canonical.com
Wed Dec 7 11:15:45 UTC 2016
Peng, another option would be to populate device image with needed
configuration before you flash it.
Add there network configuration and mark consol-conf as already run (touch
file /var/lib/console-conf/complete)
this will skip console conf on first boot and as device will already have
sensible network configuration it should connect to the network.
Of course this will still leave you with problems how to discover device on
network and you will probably need add default user to the image as well.
But you can experiment with this before cloud init is fully implemented.....
// Ondra
On Tue, Dec 6, 2016 at 9:30 AM, Oliver Grawert <ogra at ubuntu.com> wrote:
> hi,
> Am Montag, den 05.12.2016, 18:47 -0600 schrieb Peng Liu:
> > Hi Mark,
> >
> > Just would like to confirm, the cloud-init integration with "ubuntu-
> > image" is still an ongoing work? I tried to inject some commands to
> > run in the first boot of an image, but it did not work.
> > Thanks.
> >
> see http://docs.ubuntu.com/core/en/reference/gadget
>
> you can build your own gadget and add a cloud.conf [1] file to make
> that work, i'm not sure how well the USB way that mark refers to is
> documented (or actually working) currently.
>
> ciao
> oli
>
> [1] https://cloudinit.readthedocs.io/en/latest/topics/examples.html
> --
> Devices mailing list
> Devices at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.snapcraft.io/
> mailman/listinfo/devices
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snapcraft.io/archives/devices/attachments/20161207/2fd4adad/attachment.html>
More information about the Devices
mailing list