summaryrefslogtreecommitdiff
path: root/scripts/live-build-config
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2019-05-28 23:01:55 +0200
committerRunar Borge <runar@borge.nu>2019-05-28 23:01:55 +0200
commite9d561ad537ebaa0d5eba5e6413ee1428141bf4a (patch)
treebc16f26c8857d257da0b2650b6d2063b2d8f9c1c /scripts/live-build-config
parent1109c04fec9a201d3cb321ab5eb4d5b496eac540 (diff)
downloadvyos-build-e9d561ad537ebaa0d5eba5e6413ee1428141bf4a.tar.gz
vyos-build-e9d561ad537ebaa0d5eba5e6413ee1428141bf4a.zip
Update kernel arguments, enable isolinux serial and disable systemd ifnames
* The kernel is now sending console to ttyS0, this makes debugging with `qemu -nographic` hard, this is fixed by this commit * Buster activates systemd ifname'ing, this needs to be disabled to make our naming scheme work
Diffstat (limited to 'scripts/live-build-config')
-rwxr-xr-xscripts/live-build-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live-build-config b/scripts/live-build-config
index 05a41bd4..7141df00 100755
--- a/scripts/live-build-config
+++ b/scripts/live-build-config
@@ -35,7 +35,7 @@ util.check_build_config()
lb_config_tmpl = """
lb config noauto \
--architectures {{architecture}} \
- --bootappend-live "boot=live components hostname=vyos username=live nopersistence noautologin nonetworking union=overlay" \
+ --bootappend-live "boot=live components hostname=vyos username=live nopersistence noautologin nonetworking union=overlay console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0" \
--linux-flavours {{kernel_flavor}} \
--linux-packages linux-image-{{kernel_version}} \
--bootloader syslinux,grub-efi \