On Ubuntu Core, one cannot run dpkg-reconfigure for one, so the file can never
be modified in practice, and additionally we do not want to allow all possible
datasources under the sun without understanding their use cases in Ubuntu Core.
Note that already on Ubuntu Core, snapd as of 2.45.2 will write a configuration
file zzzz_snapd.cfg taking priority over this file to restrict the set of
datasources to a safe one, so we do not strictly need to delete this file, but
it will be simpler if we don't have this file.
This configuration file has the following contents:
On Ubuntu Core, one cannot run dpkg-reconfigure for one, so the file can never be modified in practice, and additionally we do not want to allow all possible datasources under the sun without understanding their use cases in Ubuntu Core.
Note that already on Ubuntu Core, snapd as of 2.45.2 will write a configuration file zzzz_snapd.cfg taking priority over this file to restrict the set of datasources to a safe one, so we do not strictly need to delete this file, but it will be simpler if we don't have this file.
This is https://github.com/snapcore/core20/pull/78, but for UC18. See https://github.com/snapcore/core/pull/115 for UC16