Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixops
  Commit: 4f1013e443b18e8a5d9811b532f66bbe41faab20
      
https://github.com/NixOS/nixops/commit/4f1013e443b18e8a5d9811b532f66bbe41faab20
  Author: aszlig <[email protected]>
  Date:   2013-08-22 (Thu, 22 Aug 2013)

  Changed paths:
    M nixops/backends/hetzner.py

  Log Message:
  -----------
  hetzner: Soft reboot if in state rescue or up.

Check the current machine state first and only if the machine is in a
state where a soft reset is not possible, trigger a hard reboot using
the Robot.

Of course if hard=True is explicitly passed, we always do a hard reset.

This is especially important when running the VM test, because it will
get into an endless loop because the real Robot isn't available, see
this build for an example:

http://hydra.nixos.org/build/5741216

Signed-off-by: aszlig <[email protected]>



_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to