diff --git a/xCAT-server/lib/xcat/plugins/yaboot.pm b/xCAT-server/lib/xcat/plugins/yaboot.pm index 66fbbee84..32a1238e7 100644 --- a/xCAT-server/lib/xcat/plugins/yaboot.pm +++ b/xCAT-server/lib/xcat/plugins/yaboot.pm @@ -86,7 +86,7 @@ sub setstate { } ); } - $kern->{kcmdline} =~ s/!myipfn!/$ipfn/; + $kern->{kcmdline} =~ s/!myipfn!/$ipfn/g; } if ($kern->{addkcmdline}) { $kern->{kcmdline} .= " ".$kern->{addkcmdline};