-
Notifications
You must be signed in to change notification settings - Fork 262
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
Enhancements to xoa-first-run #7529
Comments
That should be doable, let's see with @julien-f the next steps. |
|
Hi Julien, thank you for looking into this.
There was an appliance update, but I am not seeing these newvariables to be picked up. Could you also please elaborate on what you mean with 'This should be implemented in xo-server'? |
Update: after digging into some ugly node.js code, the parameter needs to be
NB: ' is eaten by the shell, " is needed for JSON.parse, the resulting object must be a string. So that one I can confirm to be fixed. |
Update: the provided credentials are ok and in a a good format, the error is transient. A simple This is highly unsatisfactory to debug and not stable to script. |
Update: around this topic there is another bug that prevents setting |
The changes will not be available until we package and publish a new XOA. |
Is your feature request related to a problem? Please describe.
I would like to automate the (initial) configuration of xcp-ng and XOA to replicate the provisioning of hosts that I was used to with that other hypervisor I want to migrate away from.
The configuration need goes beyond IP and a password.
Describe the solution you'd like
I would like to set additional core parameters at XOA vm creation time, these include:
This information shall be added to vm-data and picked up by
xoa-first-run
and templated out into the existing configuration sites inside the appliance.There is no need to track changes to these values in vm-data, this is a one-shot initial configuration.
Describe alternatives you've considered
The current alternative is to use a cumbersome interactive authenticated SSH session to perform above tasks.
Long-shot alternative is to change the appliance to use cloud-init.
Additional context
Happy to provide a merge to
xoa-first-run
, but failing to find the sources in the repository.The text was updated successfully, but these errors were encountered: