Revision e557bae9 lib/rpc.py

b/lib/rpc.py
524 524
    return self._SingleNodeCall(node, "instance_reboot",
525 525
                                [self._InstDict(instance), reboot_type])
526 526

  
527
  def call_instance_os_add(self, node, inst):
527
  def call_instance_os_add(self, node, inst, reinstall):
528 528
    """Installs an OS on the given instance.
529 529

  
530 530
    This is a single-node call.
531 531

  
532 532
    """
533 533
    return self._SingleNodeCall(node, "instance_os_add",
534
                                [self._InstDict(inst)])
534
                                [self._InstDict(inst), reinstall])
535 535

  
536 536
  def call_instance_run_rename(self, node, inst, old_name):
537 537
    """Run the OS rename script for an instance.

Also available in: Unified diff