Is it possible to build an all-snap image with an customized OS snap?
Peng Liu
pengliu.mail at gmail.com
Sat Dec 3 00:02:47 UTC 2016
Hi Mark,
Cloud-init sounds good fit for the requirement. Let me have a try first.
Thanks a lot for your information!
Peng
On Dec 2, 2016 13:30, "Mark Shuttleworth" <mark at ubuntu.com> wrote:
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> 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/bd57efb5/attachment.html>
More information about the Devices
mailing list