On Sat, 26 Jan 2019 19:42:15 +0100
Sandro Bonazzola <sbonazzo(a)redhat.com> wrote:
Il giorno sab 26 gen 2019, 13:20 Tomáš Golembiovský
<tgolembi(a)redhat.com>
ha scritto:
> Allow multiple alternative directory names for distributions (or
> distribution familiy) when installing Linux guest tools packages.
> Original naming required that there is a separate directory for every
> version of a distribution (e.g. fc28, fc29, ...). This is inconvenient
> when users want to keep just a single version of the package for the
> distribution.
>
> For each distribution one can have either a common directory (e.g.
> fedora) or a versioned directory (fedora28). This can also be combined.
> I.e. one can have both `fedora` and `fedora28` in which case `fedora28`
> will be used when converting Fedora 28 guest wheres `fedora` will be
> used when converting guests with any other Fedora version.
>
> To have better names for unversioned directories the original names
> were changed this way:
>
> fc -> fedora
> el -> rhel
>
this will cut centos off
Nope, `rhel` directory is used also for CentOS (as well as oraclelinux
and scientific linux).
> lp -> suse
Similarly here it's SLES as well as Leap.
>
> The original directory names are kept for backward compatibility and are
> aliased to new names as described below. When both new and old name are
> present on file system the new name takes precedence.
>
> fc28 -> fedora
> el6 -> rhel6
> el7 -> rhel7
> lp151 -> suse
>
> Signed-off-by: Tomáš Golembiovský <tgolembi(a)redhat.com>
> ---
> v2v/windows_virtio.ml | 65 +++++++++++++++++++++++++------------------
> 1 file changed, 38 insertions(+), 27 deletions(-)