| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH OSSTEST] ts-xen-install: Rewrite /etc/hosts to comment out 127.0.1.1 entry
 Ian Campbell writes ("[PATCH OSSTEST] ts-xen-install: Rewrite /etc/hosts to 
comment out 127.0.1.1 entry"):
> +         s|^127.0.1.1|#$&|;
I think you mean
    s|^\Q127.0.1.1\E\b|#$&|;
or
    s|^127\.0\.1\.1\b|#$&|;
(I have tested both of these ad-hoc.)
    
Also
> +        my $hn = $ho->{Name};
This seems unused ?
With those two this corrected.
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |