Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 49

Thread: Install extra packages with preseed

  1. #31
    Join Date
    Sep 2021
    Location
    Stockholm, Sweden
    Beans
    41
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Quote Originally Posted by jbygden2 View Post
    I'm trying out Cubic to build a customized install ISO now
    Nope - not even with the 'openssh-server' added to the standard install...

    How the hell can this be this difficult?

  2. #32
    Join Date
    Sep 2021
    Location
    Stockholm, Sweden
    Beans
    41
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Quote Originally Posted by jbygden2 View Post
    Nope - not even with the 'openssh-server' added to the standard install...
    Ok, it's just a fancy GUI to create a preseed install - which takes me back to post #1 in this thread...
    So, I'm just back to where I started...
    Last edited by jbygden2; October 28th, 2021 at 11:40 AM.

  3. #33
    Join Date
    Sep 2021
    Location
    Stockholm, Sweden
    Beans
    41
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Quote Originally Posted by tea for one View Post
    Perhaps this application will help you to include openssh-server in your source ISO?

    https://launchpad.net/cubic
    Cubic is just a fancy GUI to create a preseed install -> goto post #1 in this thread

  4. #34
    Join Date
    Sep 2021
    Location
    Stockholm, Sweden
    Beans
    41
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Quote Originally Posted by MAFoElffen View Post
    @Tea For One

    I did a quick search on that:
    https://www.linuxuprising.com/2018/0...inux-mint.html
    https://ubunlog.com/en/cubic-iso-personalizada-ubuntu/
    https://ostechnix.com/how-to-create-...ge-with-cubic/

    I think that will also help me with the Ama-gi Project LiveCD. Thank you.

    Started reading the walk throughs... Lots of CLI manual work for me. CLI inside of it's chroot inside of it. Still a possibility for me. May be a problem for the OP.

    Another possible for him though is what I originally was going to use for the Ama-Gi project, which is SystemBack 2.0. Create one system (I did in virtual), then create a LiveCD out that system using SystemBack... Which in turn, the LiveCD has an install, to install that to Live metal. This is my fallback for my project. My project being that way, I can install, debug and test everything on a running, live system, to see what is happening. And do it on both Legacy and UEFI.
    https://sourceforge.net/projects/systemback-2021/
    Don't hold your breath @MAFoElffen - Cubic is just a fancy GUI to create a preseed install -> goto post #1 of this thread...

  5. #35
    Join Date
    Sep 2021
    Location
    Stockholm, Sweden
    Beans
    41
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Quote Originally Posted by MAFoElffen View Post
    Like I started tp hint at and suggest... Maybe install from a Server Edition ISO. That is an ISO, histtorically, where you do preseeds and autoinstalls. More frequently than Desktop.

    On Server Edition, you can go full or minimal. Minimal would be core services:

    Package openssh-server is a default installation application... Add package ubuntu-desktop. I install from that ISO because of that one difference. From that ISO, I can deploy any flavor or variant. And if it is going to be visualized, I can use cloud init, to help it along.

    This is what I do with my own Support LiveCD, then install packages and configs from there. Do not think of "Server" as just being server, but as a Linux core system instance, with the potential and waiting to be "something".

    The only thing peculiar about it, in the transforming of Server ISO installs to Desktop, after the ubuntu-desktop package is installed... Is to tell it to use Network Manager, instead of NetPlan, as the networking managing service. So that users can manage nw connections graphically. But that is just one extra command after that package is installed.

    To me, it is like using the old "Ubuntu Minimal ISO", where you installed a core, then made it into something. The Minimal ISO does not exist anymore, but there is still the Net Install and Server ISO's that do the same functionally.

    There is one command to transform a Desktop to a Server, and 1 (+1, the additional network config related command I noted above) to turn server into a Desktop Edition. But doing that, openssh-server stays there.
    My next test: https://askubuntu.com/questions/1233...-20-04-desktop
    Seems to be more or less the same that you suggests above...

  6. #36
    Join Date
    May 2008
    Beans
    2,159
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Quote Originally Posted by jbygden2 View Post
    Nope - not even with the 'openssh-server' added to the standard install.
    Just curious..........

    Did you manage to install openssh-server using Cubic and create a new ISO?

    The intention of recommending Cubic was to try and help with your question in post no. 24
    I'm now at a state where I have created an ansible-playbook to do most of the config after installation, however - to be able to run it 'openssh-server' needs to be installed, and I'd really like that to be installed during the initial install.
    Do you have ANY tips on how I might accomplish that?
    Last edited by tea for one; October 28th, 2021 at 03:34 PM. Reason: Grammar & spelling

  7. #37
    Join Date
    Sep 2021
    Location
    Stockholm, Sweden
    Beans
    41
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Quote Originally Posted by jbygden2 View Post
    My next test: https://askubuntu.com/questions/1233...-20-04-desktop
    Seems to be more or less the same that you suggests above...
    So, I've now tried using the server image and autoinstall (cloud-init) config, trying out the script from here: https://github.com/covertsh/ubuntu-a...tall-generator

    But - alas:
    Code:
    waiting for cloud-init...
    finish: subiquity/Package/load_autoinstall_data: 'ubuntu-desktop' is not of type 'array'
    
    
    Failed validating 'type' in schema:
        {'items': {'type: 'string'}, 'type': 'array'}
        
    On instance:
        'ubuntu-desktop'
    An error occurred. Press enter to start shell
    At least I've now found a way found a ubuntu installer that actually does read a pre-config-file, albeit giving an error. I still view this as a huge​ success...

  8. #38
    Join Date
    Sep 2021
    Location
    Stockholm, Sweden
    Beans
    41
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Quote Originally Posted by tea for one View Post
    Just curious..........

    Did you manage to install openssh-server using Cubic and create a new ISO?

    The intention of recommending Cubic was to try and help with your question in post no. 24
    No, as I answered to your post - Cubic is just a fancy GUI to configure preseed, which I've already tried and which led to the creation of this thread in the first place.

    I added openssh-server to the install in Cubic and built the ISO - and it behaves just like the manually built. The 'openssh-server' is present in the preseed-file, but ignored by the installer.

  9. #39
    Join Date
    Sep 2021
    Location
    Stockholm, Sweden
    Beans
    41
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Next I'm watching this: Getting Started with cloud-init

    And see where to go from there.

  10. #40
    Join Date
    Sep 2021
    Location
    Stockholm, Sweden
    Beans
    41
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install extra packages with preseed

    Quote Originally Posted by jbygden2 View Post
    Next I'm watching this: Getting Started with cloud-init

    And see where to go from there.
    Hmm, ok, so now I know how to edit `/etc/cloud/cloud.cfg` but not much else...

Page 4 of 5 FirstFirst ... 2345 LastLast

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
  •