Changeset 521


Ignore:
Timestamp:
08/08/08 01:59:39 (5 years ago)
Author:
bruno
Message:

Really fix the vmntp issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 0.9.3/pb/bin/pb

    r520 r521  
    15451545    my ($pbac) = pb_conf_get($vtype."login"); 
    15461546    my ($key,$zero0,$zero1,$zero2); 
    1547     my ($vmexist,$vmpid); 
     1547    my ($vmexist,$vmpid,$ntps); 
    15481548 
    15491549    if ($vtype eq "vm") { 
     
    15531553        my ($vmhost,$vmport,$vmntp) = pb_conf_get("vmhost","vmport","vmntp"); 
    15541554        my $nport = $vmport->{$ENV{'PBPROJ'}}; 
     1555        $ntps = $vmntp->{$ENV{'PBPROJ'}}; 
    15551556        $nport = "$pbport" if (defined $pbport); 
    15561557     
     
    16181619 
    16191620# Sync date 
    1620 pb_system("/usr/sbin/ntpdate $vmntp->{'PBPRROJ'}","Syncing date to $vmntp{'PBPRROJ'}"); 
     1621pb_system("/usr/sbin/ntpdate $ntps","Syncing date to $ntps"); 
    16211622 
    16221623EOF 
Note: See TracChangeset for help on using the changeset viewer.