Hello Everyone,
My Question: Is it possible to clone and then share a lab using the CLI in EVE-NG?
Details: I have a RADIUS server with thousands of users that I would like to use for my EVE-NG authentication. The thing stopping me from doing this is the fact that I do not want to manually create the user, clone the 'seed' lab, rename the lab, and share the lab to that user. The API Documentation makes no mention of Cloning a lab or Sharing it. It does mention creating and deleting users, so I feel like I'm half way there.
I have a 'seed' lab that's in, what I call, as pre-lab state. And my current process is that clone that seed lab, and share it with a configured user. I can configure the remote RADIUS server to run APIs or CLI commands upon successfully authentication request to EVE-NG. I am just not sure if it can do what I need it to. Any ideas?
Thanks in advance,
-Ben
EVE-NG CLI/Database Question - Sharing Labs Through CLI
Moderator: mike
-
- Posts: 3
- Joined: Wed Jan 29, 2025 6:37 pm
-
- Posts: 5181
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: EVE-NG CLI/Database Question - Sharing Labs Through CLI
Hello,
the single lab dropped in shared fokder is accessible for all EVE users mate.
The clone an share it dropping in the shared folder you have to do once... not for all 10000
the single lab dropped in shared fokder is accessible for all EVE users mate.
The clone an share it dropping in the shared folder you have to do once... not for all 10000
-
- Posts: 3
- Joined: Wed Jan 29, 2025 6:37 pm
Re: EVE-NG CLI/Database Question - Sharing Labs Through CLI
Hi,
Thanks! I must have misunderstood the Cookbook:
"The User role can use the lab only exactly the way it was configured by an Admin or Editor and is unable to change any settings."
I guess I stupidly interpreted this as each user with role type "user" can't do anything with the devices. A 'read-only' demo situation. But I am now realizing "settings" is referring to the lab setup (nodes, links, descriptions, ect.), but not the configurations on the PCs and switches within. My apologies. This was very helpful, and embarrassing. Maybe the Cookbook could use another glance from me.
Thanks!
-Ben
Thanks! I must have misunderstood the Cookbook:
"The User role can use the lab only exactly the way it was configured by an Admin or Editor and is unable to change any settings."
I guess I stupidly interpreted this as each user with role type "user" can't do anything with the devices. A 'read-only' demo situation. But I am now realizing "settings" is referring to the lab setup (nodes, links, descriptions, ect.), but not the configurations on the PCs and switches within. My apologies. This was very helpful, and embarrassing. Maybe the Cookbook could use another glance from me.
Thanks!
-Ben