2024-01-18
1 分钟阅读
有了上篇IPXE的启动方法,我们来启动一个Ubuntu来玩: 简单的修改boot2.php即可: 1 case '\ec:f4:bb:d9:96:40': 2 $ip="172.16.36.2:172.16.37.254:255.255.254.0:myhost-16-36-2"; 3 $ipa=explode(':',$ip); 4 echo "ifopen net0\n"; 5 echo "set net0/ip $ipa[0]\n"; 6 echo "set net0/netmask $ipa[2]\n"; 7 echo