You are not logged in.

#1 2024-07-16 11:16:45

creampuff
Member
Registered: 2024-07-16
Posts: 3

kernel parameter 'script'?

At https://community.theforeman.org/t/auto … x/33590/19 is a piece of code with a parameter I haven't found any docs on:

LABEL archlinux
    MENU LABEL Arch Linux
    LINUX http://foreman.localdomain/pub/archlinux/arch/boot/x86_64/vmlinuz-linux
    INITRD http://foreman.localdomain/pub/archlinux/arch/boot/x86_64/initramfs-linux.img
    APPEND archisobasedir=arch archiso_http_srv=http://foreman.localdomain/pub/archlinux/ cms_verify=y ip=::: script=http://foreman.localdomain/unattended/provision?token=4109fe26-40fd-4821-a839-d626f680d521
    IPAPPEND 2
    TEXT HELP
    Arch Linux - Autoprovision
    ENDTEXT

foreman is not included in the official repos, so installation for testing purposes is a bit challenging since I am new to Arch. Is there any documentation on this parameter?

Offline

#2 2024-07-16 11:34:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,020

Re: kernel parameter 'script'?

The script parameter gets parsed by the "standard" archiso toolings to load something other than the "standard" archiso that would normally run: https://gitlab.archlinux.org/archlinux/ … ript.sh#L3 -- for usecases as is apparently the case here.

Offline

#3 2024-07-16 12:04:23

creampuff
Member
Registered: 2024-07-16
Posts: 3

Re: kernel parameter 'script'?

so any bash script will be accepted?

Offline

#4 2024-07-16 12:15:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,020

Re: kernel parameter 'script'?

I'd assume so yes

Offline

#5 2024-07-16 12:23:34

creampuff
Member
Registered: 2024-07-16
Posts: 3

Re: kernel parameter 'script'?

OK. Thanks. Is the availability of this  parameter limited to arch linux kernels?

Offline

#6 2024-07-16 12:37:28

cryptearth
Member
Registered: 2024-02-03
Posts: 884

Re: kernel parameter 'script'?

neither - because it's not parsed by the kernel but rather by the archiso environment and hence is limited to archiso install media image

Offline

Board footer

Powered by FluxBB