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

Implement AddDevice to meshctrl #6473

Open
lschnetl opened this issue Oct 23, 2024 · 4 comments
Open

Implement AddDevice to meshctrl #6473

lschnetl opened this issue Oct 23, 2024 · 4 comments
Assignees

Comments

@lschnetl
Copy link

Is your feature request related to a problem? Please describe.
It seems that we can mostly use the meshctrl application to do most tasks that you would normally do, except to add devices. I don't want to manually add devices every time we have a new one, so it would be great if we can add a device using meshctrl.

Currently you can view, edit and delete devices, but not add

Describe the solution you'd like
It would be great if we can add a device using meshctrl. Something like
node node_modules/meshcentral/meshctrl.js AddDevice --name <name> --hostname <hostname> --user <admin> --password <password> --tls

Describe alternatives you've considered
So far I have tried to import hosts using the import json function, but it constantly creates duplicates if I don't make sure to remove existing hosts

Additional context
N/A

@si458
Copy link
Collaborator

si458 commented Oct 23, 2024

are you talking about adding devices to the Local devices, no agent or the Intel® AMT only, no agent groups?

you cant add devices into the meshagent group as thats the meshagents appliction job haha

@lschnetl
Copy link
Author

lschnetl commented Oct 23, 2024

Intel® AMT only, no agent (don't want to add agents or rely on host os)

@si458
Copy link
Collaborator

si458 commented Oct 23, 2024

thats ok just wanted to clarify as you are indeed correct, you cant add devices using the meshctrl.js !
will add it to my to-do list!

@si458 si458 self-assigned this Oct 23, 2024
@lschnetl
Copy link
Author

Awesome! Thank you for the quick feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants