[app-admin/firstboot] port to python-r1