The repo layout has changed in Leap 15 so we need to adapt it. Moreover,
the required packages for Leap 15 mimic those for Tumbleweed.
Signed-off-by: Markos Chandras <mchandras@suse.de>
We build our LXC rootfs based on a minimal openSUSE cache. However,
since we are only using this cache to bootstrap the rootfs, we need to
make sure that all packages are present there otherwise we see failures
like the following one
expanding package dependencies...
expansion error
nothing provides net-tools
nothing provides iproute2
Failed to download 'opensuse base'
Most of the needed packages are being pulled in indirectly as
dependencies of other packages but we should be more explicit since
dependencies could change in the future. Finally, we pass
'--no-recommends' in order to have better control of what packages are
being pulled into the cache.
Signed-off-by: Markos Chandras <mchandras@suse.de>
All releases prior to 42.X have reached EOL so we can drop these
codepaths in order to simplify the code. This also fixes an indentation
issue.
Signed-off-by: Markos Chandras <mchandras@suse.de>
We add support for the newly released openSUSE Leap 15. Moreover we fix
some indentation issues and also switch the default distro to Leap 15
since 42.1 has been EOL'd long time ago.
Signed-off-by: Markos Chandras <mchandras@suse.de>