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

Noreg Image Uploading?

Scheduled Pinned Locked Moved
General
5
7
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 Former User
    last edited by Apr 24, 2013, 9:01 PM

    Hello All,
    I currently use the noreg to simplify applying images to bare metal systems and love it so much that I’m wondering if there is a way to upload images to the FOG server in a similar way. Is there a way, from the client at the pxe menu, to generate an image name and image type and then upload it to the FOG server? While policy is to backup a user’s system before working on it, this would make my and my tech’s lives much easier.

    Thanks!

    1 Reply Last reply Reply Quote 0
    • J
      Jaymes Driver Developer
      last edited by Apr 25, 2013, 5:33 PM

      Currently there is not.

      There is a Long registration that is really close but it doesn’t go through the image creation only assigning a already created image to the registered unit. There is also no way to Upload an image from the PXE command line, only deploy an image with a “quick image”.

      I’m sure with some coding it could be possible!

      I would like to see more command and management through the command line too!

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • J
        Jason Garrison
        last edited by Apr 25, 2013, 5:39 PM

        I’m not aware of this being an option, but I’m sure since the program is Open Source you could. It seems like it would only need to call the SQL db from a custom menu option you would need to build.

        Granted this option is a little more complicated than this tutorial, but this will show you how to make a custom menu option.
        [url]http://fogproject.org/forum/threads/how-to-modify-the-pxe-boot-menu-to-allow-the-booting-of-iso-files.154/[/url]

        I would assume this should be moved to the Feature Request forum though.
        [url]http://fogproject.org/forum/forums/feature-request.11/[/url]

        1 Reply Last reply Reply Quote 0
        • K
          Kevin
          last edited by Apr 29, 2013, 7:45 PM

          Yes there is, with limitations, and recommend against it.

          You said that you use the noreg, which what you would need. However, the only thing you should need to change is is the img=down to img=up for each individual image. I don’t have the commands in front of me, but that should be all that’s needed.

          HOWEVER, there is a fail-safe measure that’s removed when uploading the image. When you upload the image the normal way, it writes the image to a temporary file until it’s completed, then writes it to the original image. If you upload an image with noreg, it’ll directly overwrite the image and not worry about making a temporary file first. What you would need to be careful with is that if anyone tries to image a computer with the image you are uploading with this method, they will push down a corrupt image since it’s currently being pushed.

          I’ve personally never tried it, but you should be able to set the image similar to pushing it to a machine, but instead of down, put it to up. Of course, you’ll probably need to create the image template first in the FOG web interface. If you skip this step, it might still work, it might just not show up as a selectable image.

          "The quieter you become, the more you are able to hear"

          New to FOG? Check the [URL='http://www.fogproject.org/wiki/index.php/FOGUserGuide']Wiki[/…

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by May 14, 2013, 7:26 PM

            Thank you for your feedback!

            After thinking about it some more, wouldn’t make more sense to accoplish this through the full registration process?

            Is it possible to create a new manual registration so that instead of being asked which existing image and OSID to apply to the host, you are asked to input a new OS name, storage group, image type…etc so that a new image is created and uploaded directly through the registration process?

            I really appreciate all of your help!

            1 Reply Last reply Reply Quote 0
            • C
              chad-bisd Moderator
              last edited by May 14, 2013, 7:44 PM

              I actually tried to create something like this, but the process dynamically creating an image definition during registration was a bit tough.


              If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by Jun 5, 2013, 12:11 AM

                Just in case this process would benefit others out there…what I wound up doing is setting up a large samba share on the FOG server and adding an Acronis iso to the pxe menu. That allows us to push a unique disk-to-image-file backup directly from a client system to the FOG server’s samba share without going through the registration process. I was hesitant to go this way because I thought having two processes for imaging would be messy, however it’s turned out to be a great! We use the FOG side for bare metal imaging of new systems and we use the Acronis / Samba side for backing up incoming systems before we work on them. This keeps the FOG server nice and clean and the separation is a better setup for me because when it’s time to purge old client system backups there’s no worry of mistakenly deleting a production image.

                Thanks to everyone involved in the fog project. It’s just awesome!

                Scott.

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

                189

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project