diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index aaf02a1ce..6c81c3990 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -626,7 +626,7 @@ sub mkinstall ( -r "$pkgdir/images/pxeboot/vmlinuz" and $kernpath = "$pkgdir/images/pxeboot/vmlinuz" - and -r "$$pkgdir/images/pxeboot/initrd.img" + and -r "$pkgdir/images/pxeboot/initrd.img" and $initrdpath = "$pkgdir/images/pxeboot/initrd.img" ) or ( #Handle the case seen in VMWare 4.0 ESX media #In VMWare 4.0 they dropped the pxe-optimized initrd