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

No way to specify the archive file name from the command line #83

Open
hifzakh opened this issue Jul 3, 2019 · 0 comments
Open

No way to specify the archive file name from the command line #83

hifzakh opened this issue Jul 3, 2019 · 0 comments

Comments

@hifzakh
Copy link

hifzakh commented Jul 3, 2019

It does not seem that there is any switch or configuration variable that can be used with insights-client to specify the archive file name in the command line. If a user wants to specify the archive file name or know it without extracting it from the insights-client output, he will not be able to do it.

[user@hostname ~]# insights-client --offline
Starting to collect Insights data for [hostname]
Archive saved at /var/tmp/5s57d784/insights-[hostname]-20190703203857.tar.gz

To address this issue, an additional switch like --archive can be added so that the insights-client command can also be executed as follows.

[user@hostname ~]# insights-client --offline --archive /var/tmp/test
Starting to collect Insights data for [hostname]
Archive saved at /var/tmp/test.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant