From: Alfredo Deza Date: Thu, 17 Apr 2014 20:21:23 +0000 (-0400) Subject: get suse up to speed with local file repos X-Git-Tag: v1.5.0~10^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b4b5f067974707d13f14a0bb01d2097dde8e575b;p=ceph-deploy.git get suse up to speed with local file repos Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/hosts/suse/install.py b/ceph_deploy/hosts/suse/install.py index 70bb6ff..c04ca21 100644 --- a/ceph_deploy/hosts/suse/install.py +++ b/ceph_deploy/hosts/suse/install.py @@ -69,6 +69,7 @@ def install(distro, version_kind, version, adjust_repos): def mirror_install(distro, repo_url, gpg_url, adjust_repos): repo_url = repo_url.strip('/') # Remove trailing slashes + gpg_url_path = gpg_url.split('file://')[-1] # Remove file if present if adjust_repos: process.run( @@ -76,7 +77,7 @@ def mirror_install(distro, repo_url, gpg_url, adjust_repos): [ 'rpm', '--import', - gpg_url, + gpg_url_path, ] )