Revision 93cb65c5
b/scripts/gnt-backup | ||
---|---|---|
100 | 100 |
ip=opts.ip, bridge=opts.bridge, start=False, |
101 | 101 |
src_node=opts.src_node, src_path=opts.src_dir, |
102 | 102 |
wait_for_sync=opts.wait_for_sync, mac="auto", |
103 |
file_storage_dir=opts.file_storage_dir, |
|
104 |
file_driver=opts.file_driver, |
|
103 | 105 |
iallocator=opts.iallocator) |
104 | 106 |
SubmitOpCode(op) |
105 | 107 |
return 0 |
... | ... | |
160 | 162 |
make_option("--iallocator", metavar="<NAME>", |
161 | 163 |
help="Select nodes for the instance automatically using the" |
162 | 164 |
" <NAME> iallocator plugin", default=None, type="string"), |
165 |
make_option("--file-storage-dir", dest="file_storage_dir", |
|
166 |
help="Relative path under default cluster-wide file storage dir" |
|
167 |
" to store file-based disks", default=None, |
|
168 |
metavar="<DIR>"), |
|
169 |
make_option("--file-driver", dest="file_driver", help="Driver to use" |
|
170 |
" for image files", default="loop", metavar="<DRIVER>"), |
|
163 | 171 |
] |
164 | 172 |
|
165 | 173 |
commands = { |
Also available in: Unified diff