mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
force remove repo key on redhat after import
This commit is contained in:
parent
97b88e5644
commit
8ce970db06
1 changed files with 2 additions and 2 deletions
|
@ -2883,7 +2883,7 @@ _eof
|
|||
|
||||
__fetch_url /tmp/repo-saltstack-el5.pub "https://repo.saltstack.com/yum/rhel5/SALTSTACK-EL5-GPG-KEY.pub" || return 1
|
||||
rpm --import /tmp/repo-saltstack-el5.pub || return 1
|
||||
rm /tmp/repo-saltstack-el5.pub
|
||||
rm -f /tmp/repo-saltstack-el5.pub
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
@ -2903,7 +2903,7 @@ _eof
|
|||
|
||||
__fetch_url /tmp/repo-saltstack.pub "https://repo.saltstack.com/yum/rhel${DISTRO_MAJOR_VERSION}/SALTSTACK-GPG-KEY.pub" || return 1
|
||||
rpm --import /tmp/repo-saltstack.pub || return 1
|
||||
rm /tmp/repo-saltstack.pub
|
||||
rm -f /tmp/repo-saltstack.pub
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue