projects
/
sysadmin-cookbook
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27153c5
)
added IP and ve2lxc hostname to /etc/hosts
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 15 Jun 2009 20:22:52 +0000
(20:22 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 15 Jun 2009 20:22:52 +0000
(20:22 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@112
191e9f34
-6774-4a6d-acfc-
7664dacd4a2a
recepies/lxc/ve2lxc.sh
patch
|
blob
|
history
diff --git
a/recepies/lxc/ve2lxc.sh
b/recepies/lxc/ve2lxc.sh
index
702619c
..
fd55681
100755
(executable)
--- a/
recepies/lxc/ve2lxc.sh
+++ b/
recepies/lxc/ve2lxc.sh
@@
-52,6
+52,8
@@
__interfaces__
echo $hostname > $dir/etc/hostname
+echo "$ip $hostname" >> $dir/etc/hosts
+
conf=/tmp/ve2lxc.conf
cat << __lxc__ > $conf