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
a5405bd0
Commit
a5405bd0
authored
Jan 29, 2016
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #779 from hiraku/fix-centos-template-uppercase
Use ${utsname} instead of ${UTSNAME} because latter variable is not defined
parents
42caa248
54a0b57d
Hide 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 @
a5405bd0
...
@@ -249,7 +249,7 @@ configure_centos()
...
@@ -249,7 +249,7 @@ configure_centos()
DEVICE=eth0
DEVICE=eth0
BOOTPROTO=dhcp
BOOTPROTO=dhcp
ONBOOT=yes
ONBOOT=yes
HOSTNAME=
${
UTSNAME
}
HOSTNAME=
${
utsname
}
NM_CONTROLLED=no
NM_CONTROLLED=no
TYPE=Ethernet
TYPE=Ethernet
MTU=
${
MTU
}
MTU=
${
MTU
}
...
@@ -259,7 +259,7 @@ EOF
...
@@ -259,7 +259,7 @@ EOF
# set the hostname
# set the hostname
cat
<<
EOF
>
${
rootfs_path
}
/etc/sysconfig/network
cat
<<
EOF
>
${
rootfs_path
}
/etc/sysconfig/network
NETWORKING=yes
NETWORKING=yes
HOSTNAME=
${
UTSNAME
}
HOSTNAME=
${
utsname
}
EOF
EOF
# set minimal hosts
# set minimal hosts
...
...
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