Revision 0f8810df
b/lib/cli.py | ||
---|---|---|
1233 | 1233 |
OSPARAMS_OPT, |
1234 | 1234 |
OS_SIZE_OPT, |
1235 | 1235 |
SUBMIT_OPT, |
1236 |
TAG_ADD_OPT, |
|
1236 | 1237 |
DRY_RUN_OPT, |
1237 | 1238 |
PRIORITY_OPT, |
1238 | 1239 |
] |
... | ... | |
2119 | 2120 |
disks[didx] = ddict |
2120 | 2121 |
|
2121 | 2122 |
if opts.tags is not None: |
2122 |
tags = opts.tags.split(',')
|
|
2123 |
tags = opts.tags.split(",")
|
|
2123 | 2124 |
else: |
2124 | 2125 |
tags = [] |
2125 | 2126 |
|
b/lib/client/gnt_instance.py | ||
---|---|---|
1357 | 1357 |
OS_OPT, |
1358 | 1358 |
FORCE_VARIANT_OPT, |
1359 | 1359 |
NO_INSTALL_OPT, |
1360 |
TAG_ADD_OPT, |
|
1361 | 1360 |
] |
1362 | 1361 |
|
1363 | 1362 |
commands = { |
b/lib/cmdlib.py | ||
---|---|---|
8594 | 8594 |
hvparams=self.op.hvparams, |
8595 | 8595 |
hypervisor=self.op.hypervisor, |
8596 | 8596 |
osparams=self.op.osparams, |
8597 |
tags=self.op.tags, |
|
8598 | 8597 |
) |
8599 | 8598 |
|
8599 |
if self.op.tags: |
|
8600 |
for tag in self.op.tags: |
|
8601 |
iobj.AddTag(tag) |
|
8602 |
|
|
8600 | 8603 |
if self.adopt_disks: |
8601 | 8604 |
if self.op.disk_template == constants.DT_PLAIN: |
8602 | 8605 |
# rename LVs to the newly-generated names; we need to construct |
Also available in: Unified diff