Call for contributors: Ubuntu Server image with Gladys pre-installed (project launched by Howmation)

Thanks for the tests and feedback. I’ll take a look.
Most of the work was done by @howmationfr :clap:

I’ve gone through everything point by point in this PR: Simplify the installer after first hardware feedback by cicoub13 Β· Pull Request #11 Β· GladysAssistant/ubuntu-server-gladys Β· GitHub

1) Language
This was intentional, but you’re right: English by default is better. Of course, you can still choose French from the menu.

2) Account Creation

  • Unfortunately, we can’t lock or pre-fill these fields: this screen comes from the Ubuntu installer, and it’s not modifiable. To pre-fill it, we would need to include an account and password in the ISO, which we prefer to avoid. The machine name will always be gladys, whatever you type in the β€œserver name” field. Only the username and password are free and matter.
  • AZERTY: good news, the issue came from our configuration. We were pre-setting the keyboard to French, and in this case the installer never applied it when you reselected it. This is fixed: the keyboard screen now offers the layout of the chosen language (AZERTY if you choose French) and actually applies it. No need for loadkeys fr anymore.

3) Disk Selection
If the machine has only one internal disk (the case of mini-PCs like the Beelink), the screen is now skipped. USB keys don’t count. The installer still asks for confirmation before wiping the disk. If there are multiple disks available, the screen remains to choose the right one.

4) After Reboot
Thanks, that’s nice to hear! :blush:

5) SSH

  • Disk Space: fixed, the main partition now uses the entire disk, whether the storage screen is displayed (multi disks) or not (single disk).
  • Docker: the account created during installation is added to the docker group, so docker ps works directly, without sudo or a password.

Your Script
Thanks for the link! Disk expansion was the main point missing, it’s included. The rest was already covered or done differently. I added automatic timezone detection on first boot (UTC if detection fails), whereas before everything ran in UTC.

Design
The Ubuntu installer screens are not customizable: colors and texts are fixed in a component signed by Canonical, which we don’t touch. However:

  • the USB key boot menu is now in Gladys colors (white on blue)
  • once installed, each SSH or console connection displays Gladys’ status and address, instead of Ubuntu Pro help links and ads;
  • the machine console displays Gladys in blue.

A Question About Your Script
Your docker run mounts -v /run/dbus:/run/dbus:ro in the Gladys container, and the installer doesn’t do this for now. Should we add it?

All of this still needs to be validated on real hardware. I’ll review and validate the MR, I’ll keep you posted when a new test image is available.

Awesome! Thanks for the fixes!

We need to add it :slight_smile:

We need to respect the docker run from the website: Installer Gladys avec Docker sur Debian, Ubuntu et plus | Gladys Assistant

Because I like it when it flashes when you connect via ssh :sweat_smile:, is it possible to put a big title like:

   ___|  |             |                      \                _)        |                  |   
  |      |   _` |   _` |  |   |   __|        _ \     __|   __|  |   __|  __|   _` |  __ \   __| 
  |   |  |  (   |  (   |  |   | \__ \       ___ \  \__ \ \__ \  | \__ \  |    (   |  |   |  |   
 \____| _| \__,_| \__,_| \__, | ____/     _/    _\ ____/ ____/ _| ____/ \__| \__,_| _|  _| \__| 
                         ____/                                                                  

or

   ________          __              ___              _      __              __ 
  / ____/ /___ _____/ /_  _______   /   |  __________(_)____/ /_____ _____  / /_
 / / __/ / __ `/ __  / / / / ___/  / /| | / ___/ ___/ / ___/ __/ __ `/ __ \/ __/
/ /_/ / / /_/ / /_/ / /_/ (__  )  / ___ |(__  |__  ) (__  ) /_/ /_/ / / / / /_  
\____/_/\__,_/\__,_/\__, /____/  /_/  |_/____/____/_/____/\__/\__,_/_/ /_/\__/  
                   /____/                                                       

or

 β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆβ•”β•β•β•β•β• β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β•β•β•β•β•    β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•
β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   
β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘  β•šβ–ˆβ–ˆβ•”β•  β•šβ•β•β•β•β–ˆβ–ˆβ•‘    β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   
β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘    β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   
 β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•    β•šβ•β•   β•šβ•β•β•β•β•β•β•    β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•šβ•β•β•β•β•β•β•   β•šβ•β•   β•šβ•β•  β•šβ•β•β•šβ•β•  β•šβ•β•β•β•   β•šβ•β•   
                                                                                                                             

or well

 ######   ##          ###    ########  ##    ##  ######        ###     ######   ######  ####  ######  ########    ###    ##    ## ######## 
##    ##  ##         ## ##   ##     ##  ##  ##  ##    ##      ## ##   ##    ## ##    ##  ##  ##    ##    ##      ## ##   ###   ##    ##    
##        ##        ##   ##  ##     ##   ####   ##           ##   ##  ##       ##        ##  ##          ##     ##   ##  ####  ##    ##    
##   #### ##       ##     ## ##     ##    ##     ######     ##     ##  ######   ######   ##   ######     ##    ##     ## ## ## ##    ##    
##    ##  ##       ######### ##     ##    ##          ##    #########       ##       ##  ##        ##    ##    ######### ##  ####    ##    
##    ##  ##       ##     ## ##     ##    ##    ##    ##    ##     ## ##    ## ##    ##  ##  ##    ##    ##    ##     ## ##   ###    ##    
 ######   ######## ##     ## ########     ##     ######     ##     ##  ######   ######  ####  ######     ##    ##     ## ##    ##    ##    

Or (Halloween mode)

  β–„β–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–“    β–„β–„β–„      β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„β–“β–ˆβ–ˆ   β–ˆβ–ˆβ–“  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     β–„β–„β–„        β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–“  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–„β–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“ β–„β–„β–„       β–ˆβ–ˆβ–ˆβ–„    β–ˆ β–„β–„β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“
 β–ˆβ–ˆβ–’ β–€β–ˆβ–’β–“β–ˆβ–ˆβ–’   β–’β–ˆβ–ˆβ–ˆβ–ˆβ–„    β–’β–ˆβ–ˆβ–€ β–ˆβ–ˆβ–Œβ–’β–ˆβ–ˆ  β–ˆβ–ˆβ–’β–’β–ˆβ–ˆ    β–’    β–’β–ˆβ–ˆβ–ˆβ–ˆβ–„    β–’β–ˆβ–ˆ    β–’ β–’β–ˆβ–ˆ    β–’ β–“β–ˆβ–ˆβ–’β–’β–ˆβ–ˆ    β–’ β–“  β–ˆβ–ˆβ–’ β–“β–’β–’β–ˆβ–ˆβ–ˆβ–ˆβ–„     β–ˆβ–ˆ β–€β–ˆ   β–ˆ β–“  β–ˆβ–ˆβ–’ β–“β–’
β–’β–ˆβ–ˆβ–‘β–„β–„β–„β–‘β–’β–ˆβ–ˆβ–‘   β–’β–ˆβ–ˆ  β–€β–ˆβ–„  β–‘β–ˆβ–ˆ   β–ˆβ–Œ β–’β–ˆβ–ˆ β–ˆβ–ˆβ–‘β–‘ β–“β–ˆβ–ˆβ–„      β–’β–ˆβ–ˆ  β–€β–ˆβ–„  β–‘ β–“β–ˆβ–ˆβ–„   β–‘ β–“β–ˆβ–ˆβ–„   β–’β–ˆβ–ˆβ–’β–‘ β–“β–ˆβ–ˆβ–’β–‘ β–“β–ˆβ–ˆβ–„   β–’ β–“β–ˆβ–ˆβ–‘ β–’β–‘β–’β–ˆβ–ˆ  β–€β–ˆβ–„  β–“β–ˆβ–ˆ  β–€β–ˆ β–ˆβ–ˆβ–’β–’ β–“β–ˆβ–ˆβ–‘ β–’β–‘
β–‘β–“β–ˆ  β–ˆβ–ˆβ–“β–’β–ˆβ–ˆβ–‘   β–‘β–ˆβ–ˆβ–„β–„β–„β–„β–ˆβ–ˆ β–‘β–“β–ˆβ–„   β–Œ β–‘ β–β–ˆβ–ˆβ–“β–‘  β–’   β–ˆβ–ˆβ–’   β–‘β–ˆβ–ˆβ–„β–„β–„β–„β–ˆβ–ˆ   β–’   β–ˆβ–ˆβ–’  β–’   β–ˆβ–ˆβ–’β–‘β–ˆβ–ˆβ–‘  β–’   β–ˆβ–ˆβ–’β–‘ β–“β–ˆβ–ˆβ–“ β–‘ β–‘β–ˆβ–ˆβ–„β–„β–„β–„β–ˆβ–ˆ β–“β–ˆβ–ˆβ–’  β–β–Œβ–ˆβ–ˆβ–’β–‘ β–“β–ˆβ–ˆβ–“ β–‘ 
β–‘β–’β–“β–ˆβ–ˆβ–ˆβ–€β–’β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–“β–ˆ   β–“β–ˆβ–ˆβ–’β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–“  β–‘ β–ˆβ–ˆβ–’β–“β–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’    β–“β–ˆ   β–“β–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–‘β–ˆβ–ˆβ–‘β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’  β–’β–ˆβ–ˆβ–’ β–‘  β–“β–ˆ   β–“β–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–‘   β–“β–ˆβ–ˆβ–‘  β–’β–ˆβ–ˆβ–’ β–‘ 
 β–‘β–’   β–’ β–‘ β–’β–‘β–“  β–‘β–’β–’   β–“β–’β–ˆβ–‘ β–’β–’β–“  β–’   β–ˆβ–ˆβ–’β–’β–’ β–’ β–’β–“β–’ β–’ β–‘    β–’β–’   β–“β–’β–ˆβ–‘β–’ β–’β–“β–’ β–’ β–‘β–’ β–’β–“β–’ β–’ β–‘β–‘β–“  β–’ β–’β–“β–’ β–’ β–‘  β–’ β–‘β–‘    β–’β–’   β–“β–’β–ˆβ–‘β–‘ β–’β–‘   β–’ β–’   β–’ β–‘β–‘   
  β–‘   β–‘ β–‘ β–‘ β–’  β–‘ β–’   β–’β–’ β–‘ β–‘ β–’  β–’ β–“β–ˆβ–ˆ β–‘β–’β–‘ β–‘ β–‘β–’  β–‘ β–‘     β–’   β–’β–’ β–‘β–‘ β–‘β–’  β–‘ β–‘β–‘ β–‘β–’  β–‘ β–‘ β–’ β–‘β–‘  β–‘  β–‘    β–‘      β–’   β–’β–’ β–‘β–‘ β–‘β–‘   β–‘ β–’β–‘    β–‘    
β–‘ β–‘   β–‘   β–‘ β–‘    β–‘   β–’    β–‘ β–‘  β–‘ β–’ β–’ β–‘β–‘  β–‘  β–‘  β–‘       β–‘   β–’   β–‘  β–‘  β–‘  β–‘  β–‘  β–‘   β–’ β–‘β–‘  β–‘  β–‘    β–‘        β–‘   β–’      β–‘   β–‘ β–‘   β–‘      
      β–‘     β–‘  β–‘     β–‘  β–‘   β–‘    β–‘ β–‘           β–‘           β–‘  β–‘      β–‘        β–‘   β–‘        β–‘                 β–‘  β–‘         β–‘          
                          β–‘      β–‘ β–‘                                                                                                 

or well

  ___  __     __   ____  _  _  ____     __   ____  ____  __  ____  ____  __   __ _  ____ 
 / __)(  )   / _\ (    \( \/ )/ ___)   / _\ / ___)/ ___)(  )/ ___)(_  _)/ _\ (  ( \(_  _)
( (_ \/ (_/\/    \ ) D ( )  / \___ \  /    \\___ \\___ \ )( \___ \  )( /    \/    /  )(  
 \___/\____/\_/\_/(____/(__/  (____/  \_/\_/(____/(____/(__)(____/ (__)\_/\_/\_)__) (__) 

and then

8""""8                                   8""""8                                              
8    " e     eeeee eeeee e    e eeeee    8    8 eeeee eeeee e  eeeee eeeee eeeee eeeee eeeee 
8e     8     8   8 8   8 8    8 8   "    8eeee8 8   " 8   " 8  8   "   8   8   8 8   8   8   
88  ee 8e    8eee8 8e  8 8eeee8 8eeee    88   8 8eeee 8eeee 8e 8eeee   8e  8eee8 8e  8   8e  
88   8 88    88  8 88  8   88      88    88   8    88    88 88    88   88  88  8 88  8   88  
88eee8 88eee 88  8 88ee8   88   8ee88    88   8 8ee88 8ee88 88 8ee88   88  88  8 88  8   88  
                                                                                             

and finally

  ___  __     __   ____  _  _  ____     __   ____  ____  __  ____  ____  __   __ _  ____ 
 / __)(  )   / _\ (    \( \/ )/ ___)   / _\ / ___)/ ___)(  )/ ___)(_  _)/ _\ (  ( \(_  _)
( (_ \/ (_/\/    \ ) D ( )  / \___ \  /    \\___ \\___ \ )( \___ \  )( /    \/    /  )(  
 \___/\____/\_/\_/(____/(__/  (____/  \_/\_/(____/(____/(__)(____/ (__)\_/\_/\_)__) (__) 

@cicoub13 do you think we can merge your PR and rebuild? I’d love to test it tomorrow morning :grin:

It’s currently being reviewed by Claude. But I’ll get that ready for you for tomorrow morning, yes.

New test image available :rocket: https://download.gladysassistant.com/test/gladys-assistant-installer-amd64.iso

Thanks!! I’ll test it and let you know here

I just tested it, and it’s all good for me!! :smiley:

Great work!

Now, we need to do a production release!

Thanks :blush:

I was just wondering if we don’t translate the installation screens (your screenshot) according to the chosen language :france:

Oh we can! Good idea!

Oh, that should already be done. Did you choose French during installation?

cat /etc/gladys-installer/language if your machine is still available

I had chosen English specifically to test in English!

Release v0.1.0 available with production image here https://download.gladysassistant.com/gladys-assistant-installer-amd64.iso :rocket:

I’ll leave it to you to share the news :wink:

Claude is working on writing all the documentation for the site, he’s making his little screenshots like a pro :ok_hand:

Tutorial demo site: Install Gladys Assistant on a mini-PC with Gladys Assistant OS | Gladys Assistant

Overall, all the documentation has been updated, so don’t hesitate to browse the documentation!

The PR: Make Gladys Assistant OS the recommended way to install Gladys, with screenshots, a Proxmox guide and a launch post, in four languages by Pierre-Gilles Β· Pull Request #462 Β· GladysAssistant/v4-website Β· GitHub

Let me know what you think :slight_smile:

The page is fine for me (in French).
I would just remove the sentence Β« You can uncheck it if you don’t want it Β» in step 5 on OpenSSH.

Sounds good to me, great job, guys!

You’re right, no need to encourage it. I’ve removed it!