git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
create /etc/sysconfig/network on f18|f20 as this sometimes is missing
[build.git]
/
lbuild-initvm.sh
diff --git
a/lbuild-initvm.sh
b/lbuild-initvm.sh
index
df78c11
..
41eac07
100755
(executable)
--- a/
lbuild-initvm.sh
+++ b/
lbuild-initvm.sh
@@
-214,6
+214,9
@@
function fedora_configure() {
# set the hostname
case "$fcdistro" in
f18|f2?)
+ cat <<EOF > ${lxc_root}/etc/sysconfig/network
+NETWORKING=yes
+EOF
cat <<EOF > ${lxc_root}/etc/hostname
$GUEST_HOSTNAME
EOF