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

Ubuntu desktop 22.04 autoinstall cloud init

Scheduled Pinned Locked Moved Solved
Linux Problems
3
11
8.3k
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.
  • S
    Skreadz
    last edited by Jun 2, 2023, 11:17 AM

    Hello there,
    I’m working to make a full autoinstall Ubuntu Desktop 22.04 with FOG.

    I follow this guide to make my Ubuntu iso with user-data file : https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/.

    But now i have no idea what settings i should put in my iPXE Menu on FOG. (i’m using http protocol to transfert from FOG server to laptop)

    Can you help me ?

    Thanks!

    T 1 Reply Last reply Jun 2, 2023, 2:59 PM Reply Quote 0
    • S
      Skreadz
      last edited by Jun 2, 2023, 2:04 PM

      Or can someone point me towards a better solution?

      T 2 Replies Last reply Jun 2, 2023, 2:26 PM Reply Quote 0
      • T
        Tom Elliott @Skreadz
        last edited by Jun 2, 2023, 2:26 PM

        @Skreadz I don’t understand what you’re requesting exactly?

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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

        S 1 Reply Last reply Jun 2, 2023, 2:41 PM Reply Quote 0
        • T
          Tom Elliott @Skreadz
          last edited by Jun 2, 2023, 2:27 PM

          @Skreadz This might give you some information:
          https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/8

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • S
            Skreadz @Tom Elliott
            last edited by Jun 2, 2023, 2:41 PM

            @Tom-Elliott I want to make an autoinstall for Ubuntu Desktop 22.04 with fog.
            According to my research, with version 22.04 it is no longer possible to use “d-i” preseeds.
            And I can’t find any other solution.

            T 1 Reply Last reply Jun 2, 2023, 2:57 PM Reply Quote 0
            • T
              Tom Elliott @Skreadz
              last edited by Jun 2, 2023, 2:57 PM

              @Skreadz https://www.molnar-peter.hu/en/ubuntu-jammy-netinstall-pxe.html

              There will likely need adjustment to make it ipxe compatible, but this seems like it’s still possible.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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
              • T
                Tom Elliott @Skreadz
                last edited by Jun 2, 2023, 2:59 PM

                @Skreadz https://eradman.com/posts/automated-ubuntu-install.html

                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                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
                • K
                  kroepoek85
                  last edited by Jun 8, 2023, 8:23 PM

                  @Skreadz
                  What you need is this to get it ‘work’

                  :jammy-desktop
                  set base-url http://server.example.com/iso/ubuntu/22.04
                  kernel ${base-url}/vmlinuz
                  initrd ${base-url}/initrd
                  imgargs vmlinuz initrd=initrd cloud-config-url=/dev/null ip=dhcp root=/dev/ram0 ramdisk_size=4800000 url=${base-url}/ubuntu-22.04.2-desktop-amd64.iso autoinstall ds=nocloud-net;s=${base-url}/
                  boot || goto failed

                  1. Mount the ‘desktop’/‘server’ to your local disk
                  2. Extract the vmlinux and initrd, copy them to the baseurl location
                  3. The root and ramdisk_size is necessary because the ISO is to large.

                  The code above works fine with ubuntu 22 server but for the desktop I am facing a issue.
                  The desktop will start direct to the GUI interface from where you can run the installer.
                  For the server it will run directly to the installer and so the ckoud-init file works fine.

                  S 3 Replies Last reply Jun 12, 2023, 1:55 PM Reply Quote 0
                  • S
                    Skreadz @kroepoek85
                    last edited by Jun 12, 2023, 1:55 PM

                    @kroepoek85
                    Yeah same here, it seems the user-data file didn’t count

                    1 Reply Last reply Reply Quote 0
                    • S
                      Skreadz @kroepoek85
                      last edited by Jun 12, 2023, 2:29 PM

                      @kroepoek85
                      I think cloud-init method didn’t work with Ubuntu 22.04 desktop.
                      Maybe we can still use d-i presseed?

                      1 Reply Last reply Reply Quote 0
                      • S
                        Skreadz @kroepoek85
                        last edited by Jun 16, 2023, 12:36 PM

                        @kroepoek85 it’s work with ubuntu live server 22.04 and then in the user-data file you write packages: ubuntu-desktop.
                        It work well, i can autoinstall ubuntu desktop now with fog ipxe menu.

                        1 Reply Last reply Reply Quote 1
                        • [[undefined-on, S Sebastian Roth, Jun 18, 2023, 6:50 AM]]
                        • 1 / 1
                        1 / 1
                        • First post
                          11/11
                          Last post

                        204

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project