mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-24 23:15:51 +03:00
[GH-ISSUE #53] Question about user management and instances #31
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tboulogne on GitHub (Sep 8, 2015).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/53
Hello,
2 questions:
Users
How could i change owner of a VM . I get existing customer VM, and i'd like to delegate to customer the VM.
instances
How could i have automatically live instances group on top of list, and stop instances on bottom ?
Thanks for help.
Regards
@tboulogne commented on GitHub (Sep 15, 2015):
[find it]
Add a VM to a user account
1/ open sqlite database :
sqlite3 db.sqlite3and make and insert
INSERT INTO accounts_userinstance VALUES (1,0,0,42,13);1 => id
0 => right to resize
0 => right to delete
42 => instance id
13 => user id
Hope it could help !
@fossxplorer commented on GitHub (Oct 16, 2015):
But doesn't webvirtcloud offer an API to do this? @tboulogne
@tboulogne commented on GitHub (Oct 18, 2015):
@fossxplorer : did not find the way via api.
@romu70 commented on GitHub (Nov 27, 2015):
It helps, definitely, thanks Thierry.
@tboulogne commented on GitHub (Nov 27, 2015):
@romu70 you're welcome :-)
@romu70 commented on GitHub (Jan 15, 2016):
Hi, just made a script to assign a VM to a user.
The management of the association id is not the best possible, but I didn't find any other solution. Any better solution would be appreciated.