• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Configuration for capturing and deploying ubuntu images

    Scheduled Pinned Locked Moved
    General
    3
    9
    2.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      anisgh
      last edited by

      Hello,

      I have a working FOG Server (latest version), I want to use it to capture and deploy Ubuntu images. Is there something I should reconfigure in my FOG? or in my Ubuntu installation that I’m going to capture? how do I set up my DHCP server for this? or should I go ahead normally like I’m working with Windows images?

      Thank you

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @anisgh
        last edited by

        @anisgh Well your dhcp server would be the same settings for both windows and linux.

        As for ubuntu, if you want to use single disk resizable in FOG don’t use LVM (logical volume manager) in linux. Just create standard or extended partitions. The rest is no problem. Really we have more problems with Windows than linux.

        You might want to write a post install script to customize your target linux system after the image has been pushed. But that really depends on the scope of your linux deployment. You could set system names and other linux config file settings with a FOG post install script, but if you are only deploying one or 10 linux systems, it might be quicker to make the changes by hand.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        A 1 Reply Last reply Reply Quote 0
        • A
          anisgh @george1421
          last edited by

          @george1421 Thank you for your response!

          What about software? let’s say I have LibreOffice installed on the Ubuntu I’m about to clone, will this be also imaged and deployed to my other clients? or should I reinstall all the software afterwards using snapins?

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @anisgh
            last edited by

            @anisgh I would say make your golden image as complete as possible. The only time you need to install applications after imaging (that includes MS Windows) is when the installation of the application creates a unique GUID to identify the system or application. The best example of this is enterprise antivirus. This is where each client would get its own system id to identify itself to the av management software. You would not want to clone this guid to every computer because then you will have many computers with the same GUID.

            For linux there is no concept of this as far as I know. So load everything you need into your golden image and then capture and deploy your image and be happy.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            A 1 Reply Last reply Reply Quote 2
            • A
              anisgh @george1421
              last edited by

              @george1421 This seems pretty awesome! thank you.
              One last question: Can I configure my Ubuntu golden image to automatically join an Active Directory when deployed on a new machine using FOG? in other words: can FOG automatically add my new hosts to the active directory? if yes, how to configure this?

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @anisgh
                last edited by

                @anisgh From the point of FOG deployments. FOG can’t do thing on the behalf of the target OS (windows or linux) but it can leave bread crumbs behind for the target OS when it first boots. For both windows and linux it could make config file changes so that when the target OS first boots that target OS can pick up the bread crumbs and do something with them.

                For your connecting to AD question, that’s best to be done in linux with a first run connection script. Before System-D systems (like SYS-V) we would drop a S99zInit (can be any name, but name was picked to be the last script in startup) script into the init.d folder and do any local configurations once the target OS booted up, then remove the S99zInit creating a run once script.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                A 1 Reply Last reply Reply Quote 0
                • A
                  anisgh @george1421
                  last edited by

                  @george1421 I found this tutorial on the wiki page, this is what I want to do, but I don’t know if this is up to date and if it’s going to work on my pure Ubuntu capturing/deploying process.

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @anisgh
                    last edited by

                    @anisgh I think the context was for the windows version of the FOG client. But I have no experience with using the linux version of the FOG client. I don’t think the linux version of the fog client will connect it to Window AD. That’s really not a linux thing to do. But by all means please try it and see if it works. I have just never done this to linux before.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @anisgh Find some more information here: https://forums.fogproject.org/topic/16057/customizing-ubuntu-deployed-images

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      147

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project