Revision 4b038a1e scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
1512 | 1512 |
default=False, action="store_true", |
1513 | 1513 |
help=("Automatically replace faulty disks" |
1514 | 1514 |
" (only for the drbd template)")), |
1515 |
cli_option("--disks", dest="disks", default=None, |
|
1516 |
help="Comma-separated list of disks" |
|
1517 |
" indices to replace (e.g. 0,2) (optional," |
|
1518 |
" defaults to all disks)"), |
|
1515 |
DISKIDX_OPT, |
|
1519 | 1516 |
IALLOCATOR_OPT, |
1520 | 1517 |
SUBMIT_OPT, |
1521 | 1518 |
], |
... | ... | |
1570 | 1567 |
"<instance>", |
1571 | 1568 |
"Deactivate an instance's disks"), |
1572 | 1569 |
'recreate-disks': (RecreateDisks, ARGS_ONE_INSTANCE, |
1573 |
[DEBUG_OPT, SUBMIT_OPT, |
|
1574 |
cli_option("--disks", dest="disks", default=None, |
|
1575 |
help="Comma-separated list of disks" |
|
1576 |
" indices to replace (e.g. 0,2) (optional," |
|
1577 |
" defaults to all disks)"), |
|
1578 |
], |
|
1570 |
[DEBUG_OPT, SUBMIT_OPT, DISKIDX_OPT], |
|
1579 | 1571 |
"<instance>", |
1580 | 1572 |
"Recreate an instance's disks"), |
1581 | 1573 |
'grow-disk': (GrowDisk, |
Also available in: Unified diff