Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
35035bfe
Commit
35035bfe
authored
Feb 17, 2015
by
tukiyo
Committed by
Stéphane Graber
Mar 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no such option: --releasever on CentOS5's yum
Signed-off-by:
tukiyo3
<
tukiyo3@gmail.com
>
parent
d64a45ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
lxc-centos.in
templates/lxc-centos.in
+5
-1
No files found.
templates/lxc-centos.in
View file @
35035bfe
...
@@ -413,7 +413,11 @@ download_centos()
...
@@ -413,7 +413,11 @@ download_centos()
# download a mini centos into a cache
# download a mini centos into a cache
echo
"Downloading centos minimal ..."
echo
"Downloading centos minimal ..."
YUM
=
"yum --installroot
$INSTALL_ROOT
-y --nogpgcheck --releasever=
$release
"
if
[
$release
-le
5
]
;
then
YUM
=
"yum --installroot
$INSTALL_ROOT
-y --nogpgcheck"
else
YUM
=
"yum --installroot
$INSTALL_ROOT
-y --nogpgcheck --releasever=
$release
"
fi
PKG_LIST
=
"yum initscripts passwd rsyslog vim-minimal openssh-server openssh-clients dhclient chkconfig rootfiles policycoreutils"
PKG_LIST
=
"yum initscripts passwd rsyslog vim-minimal openssh-server openssh-clients dhclient chkconfig rootfiles policycoreutils"
# use temporary repository definition
# use temporary repository definition
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment