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¶
- params packer-builder/external-repo-url in field Params as value https://gitlab.com/tompscanlan/boxcutter-kvm
- params curtin/debug in field Params as value true
- params image-deploy/deployment-os in field Params as value ubuntuhammer
- params image-deploy/image-type in field Params as value dd-xz
- params packer-builder/external-packer-config in field Params as value ubuntu.pkr.hcl
- params packer-builder/external-repo-branch in field Params as value rackn-dev
- params image-deploy/image-url in field Params as value {{.ProvisionerURL}}/files/images/builder/ubuntu-22.04-x86_64.xz
- params image-deploy/install-disk in field Params as value /dev/vda
- params packer-builder/external-packer-var-file in field Params as value ubuntu-22.04-x86_64.pkrvars.hcl
- params packer-builder/packer-args in field Params as value -var-file=ubuntu-22.04-x86_64.pkrvars.hcl
- params packer-builder/work-dir in field Params as value /builder
- params cloud-init/user-data in field Params as value #cloud-config
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 ]
- params image-deploy/image-os in field Params as value linux
- params packer-builder/external-packer-path in field Params as value ubuntu/iso/x86_64
- params packer-builder/hypervisor in field Params as value kvm
- params image-deploy/image-installed-size in field Params as value 16G
- params image-deploy/image-os-subtype in field Params as value raw