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
420382d5
Commit
420382d5
authored
Jun 24, 2017
by
Evgeni Golov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default to CentOS 7
Signed-off-by:
Evgeni Golov
<
evgeni@debian.org
>
parent
58c89a14
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lxc-centos.in
templates/lxc-centos.in
+2
-2
No files found.
templates/lxc-centos.in
View file @
420382d5
...
@@ -836,8 +836,8 @@ if [ -z "$release" ]; then
...
@@ -836,8 +836,8 @@ if [ -z "$release" ]; then
# This is needed to clean out bullshit like 6workstation and 6server.
# This is needed to clean out bullshit like 6workstation and 6server.
release
=
$(
expr
$redhat_host_ver
:
'\([0-9.]*\)'
)
release
=
$(
expr
$redhat_host_ver
:
'\([0-9.]*\)'
)
else
else
echo
"This is not a CentOS or Red
hat host and release is missing, defaulting to 6
use -R|--release to specify release"
echo
"This is not a CentOS or Red
Hat host and release is missing, defaulting to 7,
use -R|--release to specify release"
release
=
6
release
=
7
fi
fi
fi
fi
...
...
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