[CentOS] ipmitool and CentOS 7

Wes James comptekki at gmail.com
Mon May 16 21:24:53 UTC 2016


In 6.7 in virtualbox, when I do uname -a I see:

Linux localhost.localdomain 2.6.32-642.el6.x86_64 #1 SMP Tue May 10
17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Then I run your command:

echo $(uname -n | sed -e 's/\..*//' )

and see:

localhost

On 7.2 on virutalbox I see this:

$ uname -a
Linux c7-vm 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux

$ echo $(uname -n | sed -e 's/\..*//' )
c7-vm

You have a typo in your script actual typed text??

-wes

On Mon, May 16, 2016 at 2:57 PM, <m.roth at 5-cent.us> wrote:

> On Dells running CentOS 6, we could use this command
> ipmitool delloem lcd set mode userdefined "$(uname -n | sed -e 's/\..*//'
> )"
> to set the little LCD screen to display the system name, In the latest
> sevens, it fails, and gives me usage for the command... which displays
> exactly that syntax.
>
> Anyone have a clue?
>
>           mark
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list