/[pxelator]/lib/PXElator/config.pm
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 /lib/PXElator/config.pm

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

revision 498 by dpavlin, Mon Feb 1 14:40:18 2010 UTC revision 499 by dpavlin, Tue Feb 16 17:50:11 2010 UTC
# Line 185  sub nfsroot { Line 185  sub nfsroot {
185                    
186          }          }
187    
188            my $exported = `exportfs | grep $export`;
189            if ( $exported ne $export ) {
190                    warn "exportfs $exported\n";
191                    system "sudo exportfs -i -o rw,async,no_root_squash,no_subtree_check,fsid=999 $ip:$export";
192            }
193    
194          my $hostname = client::conf( $ip => 'hostname' ) || 'nfsroot';          my $hostname = client::conf( $ip => 'hostname' ) || 'nfsroot';
195          file::replace "$export/etc/hostname", $hostname;          file::replace "$export/etc/hostname", $hostname;

Legend:
Removed from v.498  
changed lines
  Added in v.499

  ViewVC Help
Powered by ViewVC 1.1.26