/[sysadmin-cookbook]/recepies/ganeti/migrate-lxc/0-host.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/ganeti/migrate-lxc/0-host.sh

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

revision 306 by dpavlin, Sun Jan 12 13:39:28 2014 UTC revision 307 by dpavlin, Sun Jan 12 14:50:13 2014 UTC
# Line 1  Line 1 
1  export host_fqdn=rt.knjiznica.ffzg.hr  export host_fqdn=rt.knjiznica.ffzg.hr
2  export host=`echo $host_fqdn | cut -d. -f1`  test -z "$host" && export host=`echo $host_fqdn | cut -d. -f1`
3  test -d $host || mkdir $host  test -d $host || mkdir $host
4    
5  ssh_host() {  ssh_host() {

Legend:
Removed from v.306  
changed lines
  Added in v.307

  ViewVC Help
Powered by ViewVC 1.1.26