Revision 3eccac06 lib/backend.py
b/lib/backend.py | ||
---|---|---|
1900 | 1900 |
|
1901 | 1901 |
if (not config.has_section(constants.INISECT_EXP) or |
1902 | 1902 |
not config.has_section(constants.INISECT_INS)): |
1903 |
return None
|
|
1903 |
_Fail("Export info file doesn't have the required fields")
|
|
1904 | 1904 |
|
1905 |
return config
|
|
1905 |
return True, config.Dumps()
|
|
1906 | 1906 |
|
1907 | 1907 |
|
1908 | 1908 |
def ImportOSIntoInstance(instance, src_node, src_images, cluster_name): |
Also available in: Unified diff