From fe524dd866a1852b415cde7a10c366dfd754f19f Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 31 Jul 2024 15:48:06 +0200 Subject: [PATCH] Fix yunomprompt not being enable after ISO install --- bin/yunoprompt | 2 +- hooks/conf_regen/01-yunohost | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/yunoprompt b/bin/yunoprompt index 3ab510d2a..fdc51d9bd 100755 --- a/bin/yunoprompt +++ b/bin/yunoprompt @@ -69,7 +69,7 @@ then You should now proceed with YunoHost post-installation. This is where you will be asked for: - the main domain of your server; - - the administration password. + - the username and password for the first admin You can perform this step: - from your web browser, by accessing: https://yunohost.local/ or ${local_ip} diff --git a/hooks/conf_regen/01-yunohost b/hooks/conf_regen/01-yunohost index 3d7bfa023..ac92d5300 100755 --- a/hooks/conf_regen/01-yunohost +++ b/hooks/conf_regen/01-yunohost @@ -64,6 +64,10 @@ do_init_regen() { systemctl enable yunohost-api.service --quiet systemctl start yunohost-api.service + + # Enable yunoprompt (in particular for installs from ISO where we want this to show on first boot instead of asking for a login/password) + systemctl enable yunoprompt --quiet + # Yunohost-firewall is enabled only during postinstall, not init, not 100% sure why cp dpkg-origins /etc/dpkg/origins/yunohost