Embedd kiosk config in the installation ISO

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
ch4lk
White ninja
White ninja
Posts: 20
Joined: 28 Apr 2017, 06:03
Distribution: kiosk-cloud
Location: Australia

Embedd kiosk config in the installation ISO

Post#1 by ch4lk » 17 Aug 2018, 05:01

I suppose it's the lazy admin. in me but,
would it be possible to have an answer file so that on usb insert, there's no need to type in details?
Like I said, I'm lazy :D

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

(usb) answer file?

Post#2 by fanthom » 17 Aug 2018, 06:11

Tip for even more lazy admins:

a) remaster installation ISO
b) create config.xzm module containing /media/kiosk-config.txt
c) load your config using 'Load config' option in the wizard (takes two mouse clicks)

This way you do not have to type anything or insert any 3rd party usb device during installation.
Please add [Solved] to your thread title if the solution was found.

ch4lk
White ninja
White ninja
Posts: 20
Joined: 28 Apr 2017, 06:03
Distribution: kiosk-cloud
Location: Australia

Re: (usb) answer file?

Post#3 by ch4lk » 30 Jan 2019, 01:13

so, not only am I lazy but slow as well :D

remastering the iso won't compromise safety in that users can't see the file if I have file access turned off?
But I do want users accessing 'media'.

edit: my apologies. here's what's in the config.txt
1.enable_file_protocol=no
2.removable_devices=yes
so users def. have read/write access to media in the cloud edition.

ps. Thank you for 4.8. I am attempting to let it read remote config files: no success, as per my endeavours with 4.7.
What I haven't tried is SSH access and running the pactester.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: (usb) answer file?

Post#4 by fanthom » 30 Jan 2019, 08:38

Good point.

You could use this parameter to delete config file during every system boot so it would not be available after installation:

Code: Select all

run_command=rm /media/kiosk-config.txt

Thanks
Please add [Solved] to your thread title if the solution was found.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: (usb) answer file?

Post#5 by fanthom » 22 Feb 2019, 07:38

Moved thread to 'Tutorials', made sticky and renamed so its easier to find.
Please add [Solved] to your thread title if the solution was found.

Locked