最后活跃于 6 months ago

waja 修订了这个 Gist 8 years ago. 转到此修订

没有任何变更

waja 修订了这个 Gist 8 years ago. 转到此修订

1 file changed, 10 insertions

cloudatcost_netboot(文件已创建)

@@ -0,0 +1,10 @@
1 + wget -c "https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn" -O /boot/netboot.xyz.lkrn && \
2 + cat > /etc/grub.d/40_custom <<EOF
3 + #!/bin/sh
4 + exec tail -n +3 \$0
5 + menuentry 'netboot.xyz' {
6 + set root='hd0,msdos1'
7 + linux16 /netboot.xyz.lkrn
8 + }
9 + EOF
10 + update-grub
上一页 下一页