Results 1 to 5 of 5

Thread: Gnome without bloatware in the cloud-conf configuration file

  1. #1
    Join Date
    Nov 2021
    Beans
    2

    Gnome without bloatware in the cloud-conf configuration file

    Hello everyone!
    I am carrying out a project to create a fully automated ISO during its Ubuntu 20.04 server installation, via Cloud-conf file.

    I would like to install Gnome without bloatware, I tried like this:

    Code:
    #cloud-config
    autoinstall:
      version: 1
    
    #other code
    
    packages:
    - ubuntu-gnome-desktop --no-install-recommends
    but it doesn't work
    Can anyone help me?

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Gnome without bloatware in the cloud-conf configuration file

    Please explain what you mean by

    but it doesn't work
    What is it that does not work? Does the server ISO image not install Ubuntu server? Or, is Ubuntu server installed but without Gnome Desktop? Or, is Gnome Desktop installed but with all the utilities that you did not want installed?

    The Autoinstall reference document says this

    packages
    type: list
    default: no packages
    can be interactive: no

    A list of packages to install into the target system. More precisely, a list of strings to pass to “apt-get install”,
    If there is something wrong with any line in the list of packages to install then it may default to no packages installed. (I think)

    Please look at this advice under the heading Minimum Gnome Installation. Your command to install a minimum Gnome Desktop seems to be the wrong way around.

    Code:
    --no-install-recommends ubuntu-gnome-desktop
    https://blog.desdelinux.net/en/como-...ima-de-ubuntu/

    I am not speaking with authority. You are the one doing this experiment. You have more experience than me.

    Regards
    Last edited by grahammechanical; November 26th, 2021 at 09:14 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #3
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Gnome without bloatware in the cloud-conf configuration file

    One... It is assumed that you are pointing it to the cloud-init file, it is reading and processing it, but...

    Well... That is the package for the full Gnome Desktop packaged suite (which includes a whole lot of things), with all it's full lineup desktop applications and utilities, but is not considered (by many ) to be "without bloatware"...

    Wouldn't, when you say "without bloatware" be a minimal install of XServer, with a minimal install of gnome-sessions, with just the installation of the desktop applications that you want and require? I do either that, or me and others will run a post-install process/script, to remove what we feel is "bloatware" or unwanted extra's.

    Also consider that if you use the Server ISO as a Net Install for a Desktop, and want things to be configured as such, that your post-install is also where you do that... such as chaning the network management passed from NetPlan to Network Manager...

    Just being the Devil's Advocate, because that is what comes to mind when I read or hear that reference.
    Last edited by MAFoElffen; November 26th, 2021 at 10:46 PM.

    Concurrent coexistance of Windows, Linux and UNIX...
    Ubuntu user # 33563, Linux user # 533637
    Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
    UbuntuForums system-info Script

  4. #4
    Join Date
    May 2010
    Beans
    1,947

    Re: Gnome without bloatware in the cloud-conf configuration file

    I'd suggest something like chef or puppet for automation of configuration. Makes servers very easy to manage en mass. A great skill to have

  5. #5
    Join Date
    Nov 2021
    Beans
    2

    Re: Gnome without bloatware in the cloud-conf configuration file

    Hi, first of all thank you!
    Let me explain the error, what is wrong? When the package installation gets to

    Code:
    - ubuntu-gnome-desktop --no-install-recommends
    it crashes as if it doesn't recognize the command

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •