Skip to content

Commit

Permalink
This fixes issue #481
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineChikhaoui committed Aug 14, 2016
1 parent c92f864 commit 97e8fd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/nixops
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ def op_reboot():

def op_stop():
depl = open_deployment()
if args.confirm:
depl.logger.set_autoresponse("y")
depl.stop_machines(include=args.include or [], exclude=args.exclude or [])


Expand All @@ -420,7 +422,7 @@ def op_rename():

def print_physical_backup_spec(backupid):
depl = open_deployment()
config = {}
config = {}
for m in depl.active.itervalues():
config[m.name] = m.get_physical_backup_spec(backupid)
sys.stdout.write(py2nix(config))
Expand Down

0 comments on commit 97e8fd8

Please sign in to comment.