Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to execute scripts on Xen host prior to booting and exporting the VM #77

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dongyuzheng
Copy link

Use case: Setting and removing GPU passthroughs

  • pre_boot_host_scripts (array of strings) - List of scripts to execute on the
    XenServer host prior to booting the VM. The VM's UUID will be passed into each
    script as the first parameter. The script can be of any type: bash, python, ruby, etc.
    Each script must start with a shebang, ie. #!/usr/bin/env bash.

  • pre_export_host_scripts (array of strings) - List of scripts to execute on the
    XenServer host prior to exporting the VM. The VM's UUID will be passed into each
    script as the first parameter. The script can be of any type: bash, python, ruby, etc.
    Each script must start with a shebang, ie. #!/usr/bin/env bash.

  • remote_ssh_port (integer) - SSH port of XenServer host. Only useful when using
    pre_boot_host_scripts or pre_export_host_scripts. Default is 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant