Use new setup state in template tag

This commit is contained in:
James Valleroy 2016-11-03 22:32:17 -04:00
parent 6011a7adfa
commit cf0e8219af
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
### Added
- Added screenshots to Readme.
- repro: Open up RTP ports.
- Allow modules to register steps for first_boot.
### Fixed
- Upstream patch from Debian bug #837206 to fix DB and log file

View File

@ -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