diff --git a/xCAT-server/lib/xcat/plugins/pxe.pm b/xCAT-server/lib/xcat/plugins/pxe.pm index ee70b6b19..418bc0846 100644 --- a/xCAT-server/lib/xcat/plugins/pxe.pm +++ b/xCAT-server/lib/xcat/plugins/pxe.pm @@ -97,7 +97,7 @@ sub setstate { } ); } - $kern->{kcmdline} =~ s/!myipfn!/$ipfn/; + $kern->{kcmdline} =~ s/!myipfn!/$ipfn/g; } my $pcfg; unlink($tftpdir."/xcat/xnba/nodes/".$node.".pxelinux");