Hello,
I use hammer to get informations for hosts created.
But when I launch for example this command:
hammer host info --name <host.domain.com>
The output is in french language and i want it to be in english.
Thanks for your help,
Regards
Hello,
I use hammer to get informations for hosts created.
But when I launch for example this command:
hammer host info --name <host.domain.com>
The output is in french language and i want it to be in english.
Thanks for your help,
Regards
Set the LANG environment variable, e.g. LANG=en hammer […]
–
Dominic Cleal
dominic@cleal.org
Sam,
The output language of hammer depends on your locale set in the operating
system.
i.e.
$ export LANG=fr_CA.utf8
$ hammer host list
—|------------------------------------|------------------------|----------------|---------------|-------------------|---------------------------|----------------------
ID | NOM | SYSTèME D'EXPLOITATION | GROUPE
D'HôTES | IP | MAC | CONTENT VIEW |
LIFECYCLE ENVIRONMENT
—|------------------------------------|------------------------|----------------|---------------|-------------------|---------------------------|----------------------
2 | akofink-desktop.usersys.redhat.com | Fedora 25 |
> 192.168.1.100 | 64:00:6a:6f:2a:f4 | Default Organization View |
Library
—|------------------------------------|------------------------|----------------|---------------|-------------------|---------------------------|----------------------
$ export LANG=en_US.utf8
$ hammer host list
—|------------------------------------|------------------|------------|---------------|-------------------|---------------------------|----------------------
ID | NAME | OPERATING SYSTEM | HOST GROUP |
IP | MAC | CONTENT VIEW | LIFECYCLE
ENVIRONMENT
—|------------------------------------|------------------|------------|---------------|-------------------|---------------------------|----------------------
2 | akofink-desktop.usersys.redhat.com | Fedora 25 | |
192.168.1.100 | 64:00:6a:6f:2a:f4 | Default Organization View | Library
—|------------------------------------|------------------|------------|---------------|-------------------|---------------------------|----------------------
Regards,
Andrew
Hello,
I use hammer to get informations for hosts created.
But when I launch for example this command:hammer host info --name <host.domain.com>
The output is in french language and i want it to be in english.
Thanks for your help,
Regards–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.
–
Andrew Kofink
akofink@redhat.com
IRC: akofink
Associate Software Engineer
Red Hat Satellite