/[sysadmin-cookbook]/recepies/lxc/ve2lxc.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/lxc/ve2lxc.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 111 by dpavlin, Mon Jun 15 20:22:04 2009 UTC revision 112 by dpavlin, Mon Jun 15 20:22:52 2009 UTC
# Line 52  __interfaces__ Line 52  __interfaces__
52    
53  echo $hostname > $dir/etc/hostname  echo $hostname > $dir/etc/hostname
54    
55    echo "$ip $hostname" >> $dir/etc/hosts
56    
57  conf=/tmp/ve2lxc.conf  conf=/tmp/ve2lxc.conf
58    
59  cat << __lxc__ > $conf  cat << __lxc__ > $conf

Legend:
Removed from v.111  
changed lines
  Added in v.112

  ViewVC Help
Powered by ViewVC 1.1.26