Changeset 38 for trunk/deploy.sh.in


Ignore:
Timestamp:
May 22, 2006, 8:22:32 PM (18 years ago)
Author:
rainer
Message:

Added option to specify a group in deploy.sh install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/deploy.sh.in

    r27 r38  
    245245export host
    246246
     247# hostgroup; empty default
     248#
     249hostgroup=
     250export hostgroup
     251
    247252
    248253# action; no default
     
    432437    echo
    433438    echo " --host=<FQDN>          The host where you want to install."
     439    echo " --group=<group>        Optional group the host belongs to."
    434440    echo " --arch=<arch>          The architecture/operating system of this host."
    435441    echo "        This is used to get the correct binary package."
     
    556562    ;;
    557563
     564  --group | -group)
     565    opt_prev=hostgroup
     566    ;;
     567
     568  --group=* | -group=*)
     569    hostgroup="$optarg"; export hostgroup
     570    ;;
     571
    558572  # Build
    559573
Note: See TracChangeset for help on using the changeset viewer.