Revision fbb2c636 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
8167 | 8167 |
nics.append(ndict) |
8168 | 8168 |
self.op.nics = nics |
8169 | 8169 |
|
8170 |
if not self.op.tags and einfo.has_option(constants.INISECT_INS, "tags"): |
|
8171 |
self.op.tags = einfo.get(constants.INISECT_INS, "tags").split() |
|
8172 |
|
|
8170 | 8173 |
if (self.op.hypervisor is None and |
8171 | 8174 |
einfo.has_option(constants.INISECT_INS, "hypervisor")): |
8172 | 8175 |
self.op.hypervisor = einfo.get(constants.INISECT_INS, "hypervisor") |
8176 |
|
|
8173 | 8177 |
if einfo.has_section(constants.INISECT_HYP): |
8174 | 8178 |
# use the export parameters but do not override the ones |
8175 | 8179 |
# specified by the user |
Also available in: Unified diff