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

incus admin init --preseed should allow adding a profile to a specific project #1590

Open
megheaiulian opened this issue Jan 18, 2025 · 2 comments
Labels
Easy Good for new contributors
Milestone

Comments

@megheaiulian
Copy link

The preseed init allows creating both projects and profiles but it does not allow creating a project in a specific project.

For example:

profiles:
  - name: myprofile
    config: {}
    project: other_project 

project:
   name: other_project
   features:  {}

Should create the myprofile profile in the other_project project.
The same makes sense for networks & storage.

@stgraber stgraber added the Easy Good for new contributors label Jan 18, 2025
@stgraber stgraber added this to the soon milestone Jan 18, 2025
@megheaiulian
Copy link
Author

@stgraber A question somewhat related to this:
Do you think it makes sense to bring changes I made to init in lxd to incus: canonical/lxd#12426 ?

@stgraber
Copy link
Member

Yeah, we can bring that in, it would probably be useful in some cases when defining profiles that use custom volumes or when figuring a server to use custom volumes for images or backups.

Feel free to send your change as a PR here but note that you need to have full ownership of the changes you're sending, that is, you need to be the original author of all the commits you'd be taking from LXD as we are not under the same license and you therefore need the ability to relicense any code you take from LXD.

That's been the fun state of things since Canonical decided to relicense LXD under AGPLv3, they can still take our improvements at will, but we can't look at anything that lands in LXD without legal issues...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy Good for new contributors
Development

No branches or pull requests

2 participants