summaryrefslogtreecommitdiff
path: root/isolinux
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2017-03-28 09:30:51 -0400
committerAndrew Cady <d@jerkface.net>2017-03-28 09:30:51 -0400
commit42f0b3ff9b9e71da74ddca1b41f3f04787d571c4 (patch)
tree7fa5a368b3a82fac61c7c68edd2e29366c9a1e4b /isolinux
parent2b948633f002af0dd1e428bfeca0453cb6ac72c3 (diff)
Implement boot parameter "netkeys"
This allows the keys to be loaded from the boot medium even when the root filesystem is loaded over the network. I.e., specifying nbdroot= no longer implies that the keys will be loaded over the network. The ISO images generated by xorriso-usb.sh will not specify 'netkeys' so the keys on the USB stick will be used. The idea is that after install, the network should not be needed at all; but that requires using a new mechanism instead of the nbdroot= parameter, to determine dynamically whether to use a network root fs device. Currently, the network is still needed to boot a device that has its root fs on the local disk and the keys on the boot medium, even though no data is fetched from the NBD server. You can force the machine to boot by going to the initramfs shell and running: for n in $(seq 1 20); do killall ipconfig; done Otherwise it blocks waiting for the network.
Diffstat (limited to 'isolinux')
-rw-r--r--isolinux/pxelinux.cfg/default2
1 files changed, 1 insertions, 1 deletions
diff --git a/isolinux/pxelinux.cfg/default b/isolinux/pxelinux.cfg/default
index 386012f..77796b3 100644
--- a/isolinux/pxelinux.cfg/default
+++ b/isolinux/pxelinux.cfg/default
@@ -2,4 +2,4 @@ default samizdat
2label samizdat 2label samizdat
3 linux linux/vmlinuz 3 linux linux/vmlinuz
4 initrd linux/initrd.img 4 initrd linux/initrd.img
5 append boot=samizdat components quiet splash nbdroot=192.168.10.1,samizdat.btrfs nbddev=/dev/nbd0 ip=dhcp 5 append boot=samizdat components quiet splash nbdroot=192.168.10.1,samizdat.btrfs nbddev=/dev/nbd0 ip=dhcp netkeys