Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

portusctl: show a warning if the local registry has not been installed #1096

Merged
merged 1 commit into from
Nov 17, 2016

Commits on Nov 17, 2016

  1. portusctl: show a warning if the local registry has not been installed

    If the admin is using the `--local-registry` then we can help the admin
    to play safer:
    
    1. If the docker-distribution-registry RPM has not been installed, then
       the user can decide to install it then.
    2. If the RPM exists, then we warn the user about the fact that the
       config will be overwritten and ask for permission to proceed.
    3. All this can be forced by providing the "PORTUSCTL_FORCE" environment
       variable.
    
    Fixes SUSE#712
    
    Signed-off-by: Miquel Sabaté Solà <[email protected]>
    mssola committed Nov 17, 2016
    Configuration menu
    Copy the full SHA
    8d64992 View commit details
    Browse the repository at this point in the history