move clean repos command in case when local_repo used
Change-Id: I8e0a7a0abd3dfefc0416b0157427aef777e2d8b2 Closes-Bug: 1396377
This commit is contained in:
parent
7fee12db99
commit
6e1f17d0f8
@ -1,5 +1,3 @@
|
||||
mkdir -p /tmp/repo_backup
|
||||
mv /etc/yum.repos.d/* /tmp/repo_backup/
|
||||
$SNIPPET('kickstart_yum.conf')
|
||||
## $SNIPPET('kickstart_centos_base_repo')
|
||||
## $SNIPPET('kickstart_centos_debuginfo_repo')
|
||||
|
@ -1,4 +1,6 @@
|
||||
#if $getVar("local_repo","") != ""
|
||||
mkdir -p /tmp/repo_backup
|
||||
mv /etc/yum.repos.d/* /tmp/repo_backup/
|
||||
cat << EOF > /etc/yum.repos.d/Compass.repo
|
||||
[compass_repo]
|
||||
name=Compass yum repo
|
||||
|
Loading…
x
Reference in New Issue
Block a user