Skip to content

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

@hifzakh

Description

@hifzakh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions