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" <[email protected]> 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 <[email protected]> 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 >
-- Devices mailing list [email protected] Modify settings or unsubscribe at: https://lists.snapcraft.io/mailman/listinfo/devices
