Skip to content

pb-external-test-boxcutter-ubuntu-22.04-x86_64-kvm-uefi

Objects that Reference pb-external-test-boxcutter-ubuntu-22.04-x86_64-kvm-uefi

Not used in current content packs

Objects used by pb-external-test-boxcutter-ubuntu-22.04-x86_64-kvm-uefi

run commands

default: none

runcmd contains a list of either lists or a string

each item will be executed in order at rc.local like level with

output to the console

- runcmd only runs during the first boot

- if the item is a list, the items will be properly executed as if

passed to execve(3) (with the first arg as the command).

- if the item is a string, it will be simply written to the file and

will be interpreted by 'sh'

Note, that the list has to be proper yaml, so you have to quote

any characters yaml would eat (':' can be problematic)

runcmd: - [ ls, -l, / ] - [ sh, -xc, "echo $(date) ': hello world!'" ] - [ sh, -c, echo "=========hello world=========" ] - ls -l /root - mkdir /run/mydir - [ /curtin/drpcli-install.sh ]