Commit edb8b377 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix typo introduced in 8d8c4eff

Commit 8d8c4eff

 broke instance reinstall with different OS, due to an
attribute typo.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent e389d95b
......@@ -4710,7 +4710,7 @@ class LUReinstallInstance(LogicalUnit):
# OS verification
pnode = _ExpandNodeName(self.cfg, instance.primary_node)
_CheckNodeHasOS(self, pnode, self.op.os_type, self.op.force_variant)
instance_os = self.op.os_name
instance_os = self.op.os_type
else:
instance_os = instance.os
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment