Changes of Revision 66
[-] | Changed | _service:set_version:inventory-system.spec |
1
2 %define pkgname inventory-system 3 Name: inventory-system 4 Release: 0 5 -Version: 0.0.rev1761 6 +Version: 0.0.rev1762 7 Url: http://www.linux-administrator.com/ 8 License: GPLv2 9 Group: System 10 |
||
[+] | Changed | _service:recompress:tar_scm:inventory-system-0.0.rev1762.tar.bz2/client/inventory-system.sh ^ |
@@ -1,8 +1,8 @@ #!/bin/bash # Inventory System # Author: Carsten Schoene -# $LastChangedDate: 2012-09-10 17:26:03 +0200 (Mon, 10 Sep 2012) $ -# $Rev: 1761 $ +# $LastChangedDate: 2012-09-10 17:36:13 +0200 (Mon, 10 Sep 2012) $ +# $Rev: 1762 $ # # Default options (can be changed by inventory-system.conf) DEBUG="yes" @@ -86,11 +86,11 @@ # script usage function usage { - echo "Usage: $0 [--help|--uuid|--disk|--disks|--systemtype|--serial|--cpu|--mem|--product|--arch|--os|--kernel|--mgmtmac|--mgmtip]" + echo "Usage: $0 [--help|--uuid|--all-disk|--disks|--systemtype|--serial|--cpu|--mem|--product|--arch|--os|--kernel|--mgmtmac|--mgmtip]" echo -e "\t--help\t\tShows this help" echo -e "\t--uuid\t\tUUID of this system" echo -e "\t--disk\t\tRoot disk size of this system" - echo -e "\t--disks\t\tAll disk devices with size" + echo -e "\t--all-disks\t\tAll disk devices with size" echo -e "\t--systemtype\tSystem image type" echo -e "\t--serial\tSystem serial number (Service Tag)" echo -e "\t--cpu\t\tCPU type" @@ -124,7 +124,7 @@ RUN_FUNCTIONS="${RUN_FUNCTIONS} get_system_disk_size_bootdev" shift ;; - --disks) + --all-disks) RUN_FUNCTIONS="${RUN_FUNCTIONS} get_system_disk_sizes" shift ;; @@ -548,6 +548,7 @@ for VAR in get_system_uuid \ get_system_serial \ get_system_disk_size_bootdev \ + get_system_disk_sizes \ get_system_cpu \ get_system_memory \ get_system_manufacturer \ |