Use new setup state in template tag

This commit is contained in:
James Valleroy committed 2016-11-03 22:32:17 -04:00
1 parent 6011a7adfa
commit cf0e8219af
2 files changed
+3 -2

No files matched your search

@@ -29,5 +29,5 @@ register = template.Library()
@register.simple_tag
def firstboot_is_finished():
"""Return whether firstboot process is completed."""
state = kvstore.get_default('firstboot_state', 0)
return state >= 10
state = kvstore.get_default('setup_state', 0)
return state == 1