Results 1 to 7 of 7

Thread: How to pre-integrate packages

  1. #1

    Post How to pre-integrate packages

    Hi:

    I am wanting to pre-integrate a lot of packages (like the MATE Desktop, certain versions of Apache2, a couple of games, etc.) into my installation media so they show up as choices to install on a new machine. Is there away to get all of these additional packages downloaded then integrated into my install media without having to download them all one at a time?

    Any help would be greatly appreciated

  2. #2
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,836

    Default Re: How to pre-integrate packages

    If your installation media has only the NET iso burned to it, it will be nice and small, because you downloaded nothing you don't need. Then when you boot, you'll have access to everything you want, and will download nothing you don't. This should take less time overall than building a custom installation media and then using it.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,477
    Blog Entries
    2

    Default Re: How to pre-integrate packages

    You have lots of choices depending on the number of machines you want to automate installation and setup and however you want to weigh effort vs return.

    So,
    If you want to create completely unattended installation and setup, AutoYaST is recommended. It requires the most work, but results in the least amount of work you will need to do on each install

    https://doc.opensuse.org/projects/autoyast/

    If you support a very large network and many machines, you can also consider the standard distro-agnostic solutions like Puppet and Chef.

    For a smaller shop like what I usually work with,
    I create install scripts which are run after standard installations.
    So, for instance in your situation a standard DVD or NET install might be done with minimal instruction like "Select the Generic Desktop and Enter your own Username/Password, everything else should be default"
    Then, the person would run a script that does everything after initial installation that installs everything else including adding the Mate Desktop, any applications and apply configuration settings. The script can be made unattended or with minimal interaction.
    This approach isn't "zero administration" but it's less complex than AutoYaST and can usually be made to work on all versions of openSUSE with minimal or no modifications... and also becomes a nice Disaster Recovery option.

    If you like the idea of building generic install and setup scripts, I've written a number of Wiki articles about useful commands and posted some examples.

    My Wiki
    https://en.opensuse.org/User:Tsu2
    Some specific articles
    https://en.opensuse.org/User:Tsu2/Scripts_and_Scriplets

    Examples of more complex install scripts
    Devstack
    https://en.opensuse.org/User:Tsu2/openstack-install

    lc0 Chess project, setting up a C build environment, then launching the project's build from source
    https://github.com/putztzu/lc0/blob/...USE_install.md
    https://github.com/putztzu/lc0/blob/...penSUSE_lc0.sh

    And, of course you can build your own install ISO using something like Kiwi
    https://doc.opensuse.org/projects/kiwi/doc/

    Further questions and posts about a specific solution would probably be best posted in a Development forum...
    https://forums.opensuse.org/forumdis...97-Development

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4

    Thumbs up Re: How to pre-integrate packages

    Quote Originally Posted by tsu2 View Post
    You have lots of choices depending on the number of machines you want to automate installation and setup and however you want to weigh effort vs return.

    So,
    If you want to create completely unattended installation and setup, AutoYaST is recommended. It requires the most work, but results in the least amount of work you will need to do on each install

    https://doc.opensuse.org/projects/autoyast/

    If you support a very large network and many machines, you can also consider the standard distro-agnostic solutions like Puppet and Chef.

    For a smaller shop like what I usually work with,
    I create install scripts which are run after standard installations.
    So, for instance in your situation a standard DVD or NET install might be done with minimal instruction like "Select the Generic Desktop and Enter your own Username/Password, everything else should be default"
    Then, the person would run a script that does everything after initial installation that installs everything else including adding the Mate Desktop, any applications and apply configuration settings. The script can be made unattended or with minimal interaction.
    This approach isn't "zero administration" but it's less complex than AutoYaST and can usually be made to work on all versions of openSUSE with minimal or no modifications... and also becomes a nice Disaster Recovery option.

    If you like the idea of building generic install and setup scripts, I've written a number of Wiki articles about useful commands and posted some examples.

    My Wiki
    https://en.opensuse.org/User:Tsu2
    Some specific articles
    https://en.opensuse.org/User:Tsu2/Scripts_and_Scriplets

    Examples of more complex install scripts
    Devstack
    https://en.opensuse.org/User:Tsu2/openstack-install

    lc0 Chess project, setting up a C build environment, then launching the project's build from source
    https://github.com/putztzu/lc0/blob/...USE_install.md
    https://github.com/putztzu/lc0/blob/...penSUSE_lc0.sh

    And, of course you can build your own install ISO using something like Kiwi
    https://doc.opensuse.org/projects/kiwi/doc/

    Further questions and posts about a specific solution would probably be best posted in a Development forum...
    https://forums.opensuse.org/forumdis...97-Development

    TSU
    Thanks for the reply thee. I'll look at these as options. What I'm after is integrating the desired add-on packages directly into the initial installation thus I have a "master installation" of sorts thus I can prepare the machine/VM with it's specific options offline (no network required) and then ship it. Or I can ship a blank machine and the end customer can just use the initial YaST install to configure their own options as some of my customers will be isolating their machines from the public internet so shipping a master install media and letting them choose what to install at their end point is the most optimal.

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,231
    Blog Entries
    15

    Default Re: How to pre-integrate packages

    Quote Originally Posted by nonverbalabbie View Post
    Thanks for the reply thee. I'll look at these as options. What I'm after is integrating the desired add-on packages directly into the initial installation thus I have a "master installation" of sorts thus I can prepare the machine/VM with it's specific options offline (no network required) and then ship it. Or I can ship a blank machine and the end customer can just use the initial YaST install to configure their own options as some of my customers will be isolating their machines from the public internet so shipping a master install media and letting them choose what to install at their end point is the most optimal.
    Hi
    You can also use Studio Express to create your own install image, an iso image etc....
    https://studioexpress.opensuse.org/

    Or look at using Kiwi locally...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6

    Default Re: How to pre-integrate packages

    Quote Originally Posted by malcolmlewis View Post
    Hi
    You can also use Studio Express to create your own install image, an iso image etc....
    https://studioexpress.opensuse.org/

    Or look at using Kiwi locally...
    I'm going to play with Studio Express tonight and report back here. Thanks for the insight

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,231
    Blog Entries
    15

    Default Re: How to pre-integrate packages

    Quote Originally Posted by nonverbalabbie View Post
    I'm going to play with Studio Express tonight and report back here. Thanks for the insight
    Hi
    Your welcome

    You might want to look at this for insights: https://build.opensuse.org/project/s...ap:15.1:Images

    Or look at the whole set of image repositories on OBS here https://build.opensuse.org/project and type images in the search box top right hand side.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

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