Skip to content

instance create should accept a cloud-init script value #1072

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

Closed
karibou opened this issue Jun 5, 2020 · 1 comment · Fixed by #1145
Closed

instance create should accept a cloud-init script value #1072

karibou opened this issue Jun 5, 2020 · 1 comment · Fixed by #1145
Labels
enhancement instance Instance issues, bugs and feature requests
Milestone

Comments

@karibou
Copy link

karibou commented Jun 5, 2020

Description

instance create should accept cloud-init= option to provide a cloud-init script

How this functionality would be exposed

Add cloud-init option

References

Adding a cloud-init script will require a PATCH to the API after the POST to create the server as it is not possible to POST to /servers with the cloud-init script in one POST. The sequence of actions would be :
1: POST to /servers to create the server
2: PATCH to /servers/{id}/user_data/cloud-init to add the cloud-init script

Version

version 2.0.0-beta.3
build-date 2020-06-03T01:45:27PM
go-version go1.14.3
git-branch new-release
git-commit 522d322
go-arch amd64
go-os linux

@jerome-quere jerome-quere added the instance Instance issues, bugs and feature requests label Jun 5, 2020
@jerome-quere jerome-quere added this to the v2.1.0 milestone Jun 5, 2020
@remyleone remyleone modified the milestones: v2.1.0, v2.0.0 Jun 30, 2020
@remyleone remyleone linked a pull request Jul 1, 2020 that will close this issue
@remyleone
Copy link
Member

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement instance Instance issues, bugs and feature requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants