update install.pl by test in two node

fix some logic bug