Is it possible to build an all-snap image with an customized OS snap?

Mark Shuttleworth mark at ubuntu.com
Fri Dec 2 19:30:00 UTC 2016


Ah. It sounds like you want cloud-init, which runs on first boot and
looks for guidance ("from the cloud" but which can also be a USB stick
etc) on things like network configuration, user creation etc. We are
busy integrating cloud-init so we can great Ubuntu Core images on the
various public clouds, but the same mechanism would be useful in a
device context.

Mark

On 02/12/16 12:39, Peng Liu wrote:
> Hi Mark,
>
> Thanks for your suggestion! My requirement is to make console-conf
> execute automatically without user's evolvement. It can configure the
> network interfaces with default settings. After that users can use
> other interfaces (like web portal through LAN) to further configure
> the device (for example, upload public keys, config WAN interface,
> etc.). Is it possible to implement such kind of feature with gadget snap?
>
> Thanks!
>
> Peng
>
> On Fri, Dec 2, 2016 at 6:12 AM, Mark Shuttleworth <mark at ubuntu.com
> <mailto:mark at ubuntu.com>> wrote:
>
>     On 01/12/16 18:38, Peng Liu wrote:
>     > I am wondering the possibility to build the image with a local
>     > customized OS snap. I have this question because I am working on an
>     > embedded device which has special requirements on the
>     console-conf in
>     > the first boot.
>
>     Would it be easier to express those requirements as config in the
>     gadget
>     snap that shapes the behavior of console-conf?
>
>     Mark
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snapcraft.io/archives/devices/attachments/20161202/722c96e1/attachment.html>


More information about the Devices mailing list