Snap factory reset ?
Steve Delahunty
sdelahunty at extremenetworks.com
Tue Sep 27 17:15:19 UTC 2016
The top of the script says "This only works on Ubuntu Classic"
-----Original Message-----
From: devices-bounces at lists.snapcraft.io [mailto:devices-bounces at lists.snapcraft.io] On Behalf Of Jamie Bennett
Sent: Tuesday, September 27, 2016 1:08 PM
To: Oliver Grawert <ogra at ubuntu.com>
Cc: devices at lists.snapcraft.io
Subject: Re: Snap factory reset ?
On 27/09/16 at 05:58P, Oliver Grawert wrote:
> hi,
> Am Dienstag, den 27.09.2016, 20:33 +0500 schrieb Omer Akram:
> > Hi!
> >
> > Is there an equivalent of `Factory reset` on Ubuntu Core ? Probably
> > a command that would clean the writable part of the image.
> >
> nope, there is not and unlike with the system-image images you can not
> "just wipe writable" to get back to a virgin state.
>
> it would have to be a very selective script that decides which bits
> can stay and which bits can go since "writable" also holds the
> readonly snaps and their assertion based initial setup in the all-snaps images.
>
> alternatively to such a script we would have to have a partition that
> holds the original snaps and assertions so writable could be formatted
> blank and "snap prepare-image" could be re-run on the empty partition
> to put the initial configuration back in place (along with the
> original
> snaps)
>
> i think the latter was the long term plan but i dont think anything
> has happened in that area yet.
There is this script [1] that zyga maintains which will completely reset the snappy state i.e. removes everything.
> ciao
> oi
[1] https://github.com/zyga/devtools
--
Devices mailing list
Devices at lists.snapcraft.io
Modify settings or unsubscribe at: https://lists.snapcraft.io/mailman/listinfo/devices
________________________________
DISCLAIMER:
This e-mail and any attachments to it may contain confidential and proprietary material and is solely for the use of the intended recipient. Any review, use, disclosure, distribution or copying of this transmittal is prohibited except by or on behalf of the intended recipient. If you have received this transmittal in error, please notify the sender and destroy this e-mail and any attachments and all copies, whether electronic or printed.
More information about the Devices
mailing list