From ec23a8ec7baaf28474063082b7238f58e9ca119f Mon Sep 17 00:00:00 2001 From: Gleb Fotengauer-Malinovskiy Date: Mon, 15 Jul 2019 20:11:45 +0300 Subject: [PATCH] Add installer VNC configs with different labels for images with grub bootloader --- features.in/syslinux/cfg.in/25grub-install-vnc-connect.cfg | 5 +++++ features.in/syslinux/cfg.in/25grub-install-vnc-listen.cfg | 5 +++++ features.in/syslinux/config.mk | 2 ++ 3 files changed, 12 insertions(+) create mode 100644 features.in/syslinux/cfg.in/25grub-install-vnc-connect.cfg create mode 100644 features.in/syslinux/cfg.in/25grub-install-vnc-listen.cfg diff --git a/features.in/syslinux/cfg.in/25grub-install-vnc-connect.cfg b/features.in/syslinux/cfg.in/25grub-install-vnc-connect.cfg new file mode 100644 index 00000000..63056c0b --- /dev/null +++ b/features.in/syslinux/cfg.in/25grub-install-vnc-connect.cfg @@ -0,0 +1,5 @@ +label vncconnect + menu label VNC client (edit to set server IP address) + kernel alt0/vmlinuz + append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless vncconnect=IP + diff --git a/features.in/syslinux/cfg.in/25grub-install-vnc-listen.cfg b/features.in/syslinux/cfg.in/25grub-install-vnc-listen.cfg new file mode 100644 index 00000000..30d83f5e --- /dev/null +++ b/features.in/syslinux/cfg.in/25grub-install-vnc-listen.cfg @@ -0,0 +1,5 @@ +label vncpasswd + menu label Install @relname@ (headless with DHCP+VNC) (password VNCPWD) + kernel alt0/vmlinuz + append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless vncpassword=VNCPWD + diff --git a/features.in/syslinux/config.mk b/features.in/syslinux/config.mk index 76655e0d..d889a30f 100644 --- a/features.in/syslinux/config.mk +++ b/features.in/syslinux/config.mk @@ -41,6 +41,8 @@ use/syslinux/%.cfg: use/syslinux ifeq (,$(filter-out ppc64le,$(ARCH))) use/syslinux/localboot.cfg use/syslinux/removable.cfg use/syslinux/lateboot.cfg use/syslinux/sdab.cfg: use/syslinux; @: +use/syslinux/install-vnc-connect.cfg: use/syslinux/grub-install-vnc-connect.cfg; @: +use/syslinux/install-vnc-listen.cfg: use/syslinux/grub-install-vnc-listen.cfg; @: endif use/syslinux/timeout/%: use/syslinux