From b4b5f067974707d13f14a0bb01d2097dde8e575b Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 17 Apr 2014 16:21:23 -0400 Subject: [PATCH] get suse up to speed with local file repos Signed-off-by: Alfredo Deza --- ceph_deploy/hosts/suse/install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, ] ) -- 2.47.3