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

    Issue with the "Deploy Image" option

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    13
    1.2k
    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.
    • Chris WhiteleyC
      Chris Whiteley
      last edited by Chris Whiteley

      @george1421 This redirects to http://ipaddress/fog/management/index.php?

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

        @Chris-Whiteley Well that’s a problem.

        Looking at my url I gave it its wrong. I have the ampersand and question mark confused. Try this one: http://ipaddress/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00

        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
        • Chris WhiteleyC
          Chris Whiteley
          last edited by

          @george1421 Here is the code:

          #!ipxe
          set fog-ip ipaddress
          set fog-webroot fog
          set boot-url http://${fog-ip}/${fog-webroot}
          cpuid --ext 29 && set arch x86_64 || set arch i386
          goto get_console
          :console_set
          colour --rgb 0x00567a 1 ||
          colour --rgb 0x00567a 2 ||
          colour --rgb 0x00567a 4 ||
          cpair --foreground 7 --background 2 2 ||
          goto MENU
          :alt_console
          cpair --background 0 1 ||
          cpair --background 1 2 ||
          goto MENU
          :get_console
          console --picture http://ipaddress/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
          :MENU
          menu
          colour --rgb 0x00567a 0 ||
          cpair --foreground 1 1 ||
          cpair --foreground 0 3 ||
          cpair --foreground 4 4 ||
          item --gap Host is registered as FOG-test!
          item --gap -- -------------------------------------
          item fog.local Boot from hard disk
          item fog.memtest Run Memtest86+
          item fog.keyreg Update Product Key
          item fog.deployimage Deploy Image
          item fog.multijoin Join Multicast Session
          item fog.quickdel Quick Host Deletion
          item fog.sysinfo Client System Information (Compatibility)
          choose --default fog.local --timeout 10000 target && goto ${target}
          :fog.local
          exit || goto MENU
          :fog.memtest
          kernel memdisk initrd=memtest.bin iso raw
          initrd memtest.bin
          boot || goto MENU
          :fog.keyreg
          login
          params
          param mac0 ${net0/mac}
          param arch ${arch}
          param username ${username}
          param password ${password}
          param keyreg 1
          isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
          isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
          :fog.deployimage
          login
          params
          param mac0 ${net0/mac}
          param arch ${arch}
          param username ${username}
          param password ${password}
          param qihost 1
          isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
          isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
          :fog.multijoin
          login
          params
          param mac0 ${net0/mac}
          param arch ${arch}
          param username ${username}
          param password ${password}
          param sessionJoin 1
          isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
          isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
          :fog.quickdel
          login
          params
          param mac0 ${net0/mac}
          param arch ${arch}
          param username ${username}
          param password ${password}
          param delhost 1
          isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
          isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
          :fog.sysinfo
          kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=ipaddress/fog/ consoleblank=0 rootfstype=ext4 storage=ipaddress:/images/ storageip=ipaddress loglevel=4 mode=sysinfo
          imgfetch init_32.xz
          boot || goto MENU
          :bootme
          chain -ar http://ipaddress/fog/service/ipxe/boot.php##params ||
          goto MENU
          autoboot```
          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @Chris Whiteley
            last edited by

            @Chris-Whiteley OK that menu looks good. Now in your OP it says you were deploying an image and that error is thrown? If so schedule a deploy image task and record the mac address of the host you are going to deploy to. Take that mac address and replace the 00:00:00:00:00:00 mac address in the url with the mac address of the target system you were deploying to. Lets look at that ipxe menu.

            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!

            Chris WhiteleyC 1 Reply Last reply Reply Quote 0
            • Chris WhiteleyC
              Chris Whiteley @george1421
              last edited by

              @george1421 I will clarify…This only happens from the fog menu if I choose “Deploy Image”. It won’t do it if I kick a task off from the web, or choose the image now option from the “Full Host Reg”. Does that change where you want to go with this?

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

                @Chris-Whiteley Ah I missed the Deploy Image from the iPXE menu.

                Here is a different url to call: http://<ipaddress>/fog/service/ipxe/boot.php?mac0=00:00:00:00:00:00&arch=x86_64&username=fog&password=password&qihost=1

                Update the ipaddress and the username and password that is appropriate for your installation.

                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!

                Chris WhiteleyC 1 Reply Last reply Reply Quote 0
                • Chris WhiteleyC
                  Chris Whiteley @george1421
                  last edited by

                  @george1421

                  #!ipxe
                  set fog-ip <ipaddress>
                  set fog-webroot fog
                  set boot-url http://${fog-ip}/${fog-webroot}
                  echo Invalid login!
                  clear username
                  clear password
                  sleep 3
                  cpuid --ext 29 && set arch x86_64 || set arch i386
                  params
                  param mac0 ${net0/mac}
                  param arch ${arch}
                  param platform ${platform}
                  param menuAccess 1
                  param debug
                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                  :bootme
                  chain -ar http://<ipaddress>/fog/service/ipxe/boot.php##params```
                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @Chris Whiteley
                    last edited by

                    @Chris-Whiteley That one is saying the user id and password in the url I provided are incorrect. You need to update those with the user ID and Password that works for imaging on your FOG server. I entered the FOG defaults of fog and password.

                    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!

                    Chris WhiteleyC 1 Reply Last reply Reply Quote 0
                    • Chris WhiteleyC
                      Chris Whiteley @george1421
                      last edited by

                      #!ipxe
                      set fog-ip <ip address>
                      set fog-webroot fog
                      set boot-url http://${fog-ip}/${fog-webroot}
                      goto MENU
                      :MENU
                      menu
                      item Windows101809b - Windows 10 1809 (208)
                      item -Windows101809-Office2013 - Windows 10 1809 - Office 2013 (209)
                      item return Return to menu
                      choose --default Windows101809b --timeout 10000 target && goto ${target}
                      :Windows101809b
                      set imageID 208
                      params
                      param mac0 ${net0/mac}
                      param arch ${arch}
                      param imageID ${imageID}
                      param qihost 1
                      param username ${username}
                      param password ${password}
                      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                      :-Windows101809-Office2013
                      set imageID 209
                      params
                      param mac0 ${net0/mac}
                      param arch ${arch}
                      param imageID ${imageID}
                      param qihost 1
                      param username ${username}
                      param password ${password}
                      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                      :return
                      params
                      param mac0 ${net0/mac}
                      param arch ${arch}
                      isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                      isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                      :bootme
                      chain -ar http://<ip address>/fog/service/ipxe/boot.php##params
                      goto MENU
                      
                      george1421G 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @Chris Whiteley
                        last edited by george1421

                        @Chris-Whiteley said in Issue with the "Deploy Image" option:

                        item Windows101809b - Windows 10 1809 (208)
                        item -Windows101809-Office2013 - Windows 10 1809 - Office 2013 (209)

                        I suspect these. Remove the dashes from the image names and see what happens.

                        More precisely its probably this image name :-Windows101809-Office2013

                        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!

                        Chris WhiteleyC 1 Reply Last reply Reply Quote 1
                        • Chris WhiteleyC
                          Chris Whiteley @george1421
                          last edited by

                          @george1421 You are the man! That was it! I made the changes and the menu came up. It was the - before the Windows 10 1809 - Office 2013 image

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

                          227

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project