Skip to content

Commit

Permalink
Merge pull request #5 from nkskjames/power_policy
Browse files Browse the repository at this point in the history
add power policy settings
  • Loading branch information
nkskjames committed Feb 1, 2016
2 parents 33e0930 + 48c21b8 commit 3bda531
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ host:
name: system_state
type: s
default: ""
powerpolicy:
name: power_policy
type: s
default: "RESTORE_LAST_STATE"
2 changes: 1 addition & 1 deletion settings_file.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/python -u
SETTINGS={'host': {'bootflags': {'default': 'default', 'type': 's', 'name': 'boot_flags'}, 'powercap': {'name': 'power_cap', 'min': 0, 'default': 0, 'max': 1000, 'type': 'i', 'unit': 'watts'}, 'sysstate': {'default': '', 'type': 's', 'name': 'system_state'}}}
SETTINGS={'host': {'bootflags': {'default': 'default', 'type': 's', 'name': 'boot_flags'}, 'powerpolicy': {'default': 'RESTORE_LAST_STATE', 'type': 's', 'name': 'power_policy'}, 'powercap': {'name': 'power_cap', 'min': 0, 'default': 0, 'max': 1000, 'type': 'i', 'unit': 'watts'}, 'sysstate': {'default': '', 'type': 's', 'name': 'system_state'}}}

0 comments on commit 3bda531

Please sign in to comment.