mirror of https://github.com/sipwise/netscript.git
> root@sp1 ~ # dmidecode| awk '/Location In Chassis/ {print $4}'
>> Slot2
>> Attached
>> Attached
>> Attached
>> Attached
>> Blade
>> Blade
> root@sp1 ~ # dmidecode| grep 'Location In Chassis'
>> Location In Chassis: Slot2
>> Location In Chassis: Attached to System Planar
>> Location In Chassis: Attached to System Planar
>> Location In Chassis: Attached to System Planar
>> Location In Chassis: Attached to System Planar
>> Location In Chassis: Blade
>> Location In Chassis: Blade
> root@sp1 ~ # dmidecode| awk '/Location In Chassis: Slot/ {print $4}'
>> Slot2
> root@sp1 ~ #
Change-Id: Ic99db4b258bdfcc14af08b7c49172b30d428cb6c
changes/34/1034/1
parent
39356329d0
commit
710440be1b
Loading…
Reference in new issue