Muilti boot

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Post Reply
bonzo
White ninja
White ninja
Posts: 5
Joined: 22 Aug 2019, 07:18
Distribution: 4.8

Muilti boot

Post#1 by bonzo » 22 Aug 2019, 07:45

Hi.
I have installed Porteus-Kiosk and love it! I am using a central porteus.cfg file which is hosted on a webserver to manage several kiosks remotely. This file includes all the porteus settings including the homepage.
What I would like to do is to present a menu on boot up that allows the user to lock the kiosk into either one homepage or a second different homepage.

I thought this could be achieved by using syslinux bootloader with an overlay .dat file.

isolinux.cfg

Code: Select all

DEFAULT site1
timeout 5

label site1
        menu label Driver Knowledge Test System
        kernel /boot/vmlinuz
        append initrd=/boot/initrd.xz changes=/porteus/site1.dat changes-ro

label site2
        menu label Public Access Internet Kiosk
        kernel /boot/vmlinuz
        append initrd=/boot/initrd.xz changes=/porteus/site2.dat changes-ro

I'm not sure which file I'd need to change within the dat file, and what I'd need to put in there.
Presumably just a single line that contains the kiosk_config setting for each homepage.
eg.

Code: Select all

site1.dat
kiosk_config=https://www.example.com/porteus1.cfg  

site2.dat
kiosk_config=https://www.example.com/porteus2.cfg

Would this work? Or is there a better solution?

thanks in advance.

Post Reply