In case of the mariner vm, running the installer script automatically configures the preview-repo to install mdatp, which inturn affects the mariner vm, because its starts to get preview-repo versions of other packages too while updating.
With my change it is made sure in case of mariner distro, mde installation from extras-preview repo happens only when no channel is specified in the installer script. If the installer script is run with prod channel as option then it tries to get mdatp from the extras repo.(mdatp not available here as of now, so installation expected to fail).
In case of the mariner vm, running the installer script automatically configures the preview-repo to install mdatp, which inturn affects the mariner vm, because its starts to get preview-repo versions of other packages too while updating.
With my change it is made sure in case of mariner distro, mde installation from extras-preview repo happens only when no channel is specified in the installer script. If the installer script is run with prod channel as option then it tries to get mdatp from the extras repo.(mdatp not available here as of now, so installation expected to fail).