Skip to content

Option to directly reboot after installationΒ #1747

Closed

Description

@CocoXiaoLong

This a suggestion.

Can we create a option on what to do after the installation.

- Post-Install
 - Reboot
 - Chroot (Into installed system)
 - Exit (Into the Archiso)

So when for example I setup a VM, I can just close the virt-viewer, and access it via ssh.

Activity

  1. Torxed commented on Apr 21, 2023

    @Torxed
    Member

    hmm, I'm so used to doing this with prepping a conf and do archinstall --conf https://hvornum.se/reboot.json --silent and in the conf having:

    {
        ...
        "custom-commands": [
            "reboot"
        ]
    }

    (you can also skip --silent and have the conf only contain the reboot starement, and archinstall will behave as usual with the menues, but after do the reboot)

    But this could also be done with archinstall && reboot assuming we didn't have the "do you want to chroot.."

  2. CocoXiaoLong commented on Apr 21, 2023

    @CocoXiaoLong
    Author

    So those custom commands are executed before the chroot prompt and after the other installations? Nice to know...
    That would be fine by me, but I think for most people, it would be easier to have a menu point for it or when doing a spontaneous installation and not wanting to edit a config file.

  3. Torxed commented on Apr 21, 2023

    @Torxed
    Member

    I agree, from a simplistic use case.
    I would argue that the "do you want to chroot" and "reboot" could be moved in to a post-install menu options. So it's part of the menu system instead of being a input() question after :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions