Post install wizard?

I want the user of my snap to be prompted for an IP address and maybe some credentials(username/password) as soon as they install it, I want them to be persistent for my snap’ context i.e. no need to tinker with that config on snap upgrades etc, how can I achieve that ?

What I need is to be able to define some kind of “setup wizard” post installation for my snap to be usable.

The info about the configure hook was limited in that regard.

The configure hook does not do interactive prompting in this style. If you want to ask questions or implement a wizard, it may easily be done with a normal application inside the snap itself.

1 Like