Changeset 32919
- Timestamp:
- Dec 9, 2011, 1:12:24 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/bin/neb-host (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/bin/neb-host
r28526 r32919 18 18 my ($host, $state, $note, 19 19 $db, $dbhost, $dbpass, $dbuser, 20 $allocate, $available, $debug );20 $allocate, $available, $debug,$volume); 21 21 22 22 # $db = $ENV{'NEB_DB'} unless $db; … … 56 56 'dbuser=s' => \$dbuser, 57 57 'dbpass=s' => \$dbpass, 58 58 'volume' => \$volume, 59 59 60 60 ) || pod2usage( 2 ); … … 98 98 99 99 my %constraint; 100 $constraint{'v.host'} = $host; 100 if (defined($volume)) { 101 $constraint{'v.name'} = $host; 102 } 103 else { 104 $constraint{'v.host'} = $host; 105 } 101 106 my %set; 102 107 $set{'v.allocate'} = $allocate if defined $allocate;
Note:
See TracChangeset
for help on using the changeset viewer.
