installer: add basic auto mode supporting

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/b8b798d0ed1444cd8bba2de8ffc7b8e4/

Change-Id: I7f9d2eafb7b5e091c39a0626491b29d579d48190