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

Support user_data in Console UI #863

Open
3 tasks
PatrickDuncan opened this issue Aug 23, 2024 · 0 comments
Open
3 tasks

Support user_data in Console UI #863

PatrickDuncan opened this issue Aug 23, 2024 · 0 comments
Labels
enhancement New feature or request internal-synced

Comments

@PatrickDuncan
Copy link

Description

https://cloud.ibm.com/docs/vpc?topic=vpc-user-data

When you create an IBM Cloud® Virtual Servers for Virtual Private Cloud instance, you can specify optional user data that automatically performs common configuration tasks or runs scripts. For more information about user data and usernames, see IAM access.

VPC uses Cloud-init technology to configure virtual server instances. The User Data field on the New virtual server for VPC page allows users to put in custom configuration options by using cloud-init. Cloud-init supports several formats for configuration data, including yaml in a cloud-config file.

user_data is integral VSI instance functionality and we need it to install software on the VSI during startup.

I see that user_data is definable using override_json_string, but I think its important enough to be a standalone variable.

Users must be able to input something like this in the Deployable Architecture - Configure > Optional panel.

#cloud-config
users:
  - name: demouser
    gecos: Demo User
    sudo: ALL=(ALL) NOPASSWD:ALL
    groups: users, admin
    ssh_import_id: None
    lock_passwd: true
  • Add user_data support as an optional configuration field.
  • The option should be segmented by management and workload VSIs. There is a high chance that the user_data directive will be very different between management and workload VSIs.
  • The help text must link to https://cloud.ibm.com/docs/vpc?topic=vpc-user-data.

New or affected modules


By submitting this issue, you agree to follow our Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request internal-synced
Projects
None yet
Development

No branches or pull requests

2 participants