Skip to content

Pass bash script to guest customization #22836

Open
@agrare

Description

@agrare

Discussed in https://github.com/orgs/ManageIQ/discussions/22817

Originally posted by oysterme1ster December 19, 2023
Hi,
When we use customization spec, we can override parameters like like (ip_addr, subnet_netmask, hostname etc.)
Is the are possible to pass the script (bash for example) into vmWare Customspec as parameter?


agrare replied
Hi @oysterme1ster we would pass a scriptText parameter to the VMware CustomizationLinuxPrep property, https://vdc-download.vmware.com/vmwb-repository/dcr-public/184bb3ba-6fa8-4574-a767-d0c96e2a38f4/ba9422ef-405c-47dd-8553-e11b619185b2/SDK/vsphere-ws/docs/ReferenceGuide/vim.vm.customization.LinuxPrep.html

This appears to be new since 7.0, we don't currently support it but I think that's a great RFE

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions