• Creating a Custom Full Reg Screen

    2
    0 Votes
    2 Posts
    421 Views
    S

    @DJslimD1k Yes there are two ways of achieving this. The first one is kind of static where you modify the init.xz file. You need to re-do the modification as soon as you update to a new version of FOG. Find instructions on how to do that in the wiki: https://wiki.fogproject.org/wiki/index.php?title=Modifying_the_Init_Image

    But as you seem to use the latest dev-branch version (great!) I would suggest you use the more dynamic way of “patching” the inits on the fly while it boots up. George posted instructions on this in the forums: https://forums.fogproject.org/topic/13500/dynamically-patching-fos-using-a-postinit-script

    In your case you want to edit fog.reg.man.fix and delete lines 286-294 as well as 250-268 (note I am listing the lines numbers in reverse because when you start deleting in line 250 the later line numbers will change).

    As well I suggest you keep an eye on the commit history of this particular file on github (https://github.com/FOGProject/fos/commits/master/Buildroot/board/FOG/FOS/rootfs_overlay/bin/fog.man.reg) - whenever we commit a change I suggest you re-download and modify your fog.reg.man.fix again. Last change was March 2018, so changes to this file are kind of rare but you never know.

  • FOG + LUKS

    2
    0 Votes
    2 Posts
    708 Views
    george1421G

    @boriquaboy115 I would like to say yes for LUKS encryption. I created a one off kernel for that a while ago for a specific use case.

    Part 2: LVM isn’t a problem for FOG, it just can’t resize the disk image, so you can only deploy it to the same size disk or larger if you have an LVM partition.

    ref: https://forums.fogproject.org/topic/13845/error-decrypting-luks-partition-prior-to-capture-imaging/8

  • How does Fog communicate with storage nodes ?

    2
    0 Votes
    2 Posts
    428 Views
    L

    Found the answer:

    The master server polls the storage node web server. (/fog/status/bandwidth.php?dev=eth-device-name)

    If the master server is HTTPS enabled, the storage nodes must expose the APIs in HTTPS too.

  • Configure fog to answer on two IP addresses

    Solved
    7
    0 Votes
    7 Posts
    3k Views
    S

    Hi, I have solved the problem. I have followed an article which has helped me to solve the problem I had, right now FOG is able to answer both networks without any problem.

    I leave the article here: https://jensd.be/468/linux/two-network-cards-rp_filter

    Thanks for everything!

  • Deleting Hosts

    4
    0 Votes
    4 Posts
    2k Views
    george1421G

    @bmick10 said in Deleting Hosts:

    If I delete a device that is still in production on the network. It will not remove from domain or lose connection?

    Correct. The only impact to the target computer is that if the fog client is installed on the target computer it will no longer get instructions from the FOG server. The FOG Client will be abandoned with no instructions.

    If I have a machine named ittech20 and remove that from database when I restart in pxe will the computer still be named ittech20.

    Yes the computer will remain untouched. The only thing you will notice is that in the fog iPXE menu the computer will appear as unregistered.

    So if I delete all of them since the machine still has service running on will it talk back to server and sync to database?

    If the FOG Client is installed on the machine but they are no longer in the database the FOG Client should reregister the computer. Now that I think about it. BUT they will be registered in a pending state and must be approved before you can work with them in the FOG Gui. Its been a while since I did this part so its not as clear in my mind. But they should go into the database again in a pending state.

  • Upgrade 1.5.7 to 1.5.9

    Solved
    3
    0 Votes
    3 Posts
    931 Views
    R

    @george1421 Thanks for your reply.

    Out of all the replies on updating FOG all of them refer to the git method, and never a clear answer on the tarball/zip method. So thank you for that. Looks like my original install my boss did was from the tarball so I’ll stick to that for now. Thanks again!

  • Make room on fog server's storage

    14
    0 Votes
    14 Posts
    5k Views
    S

    @sjensen Just as a precaution - make sure you have a backup copy of all your important data from this system. I won’t be made liable for any steps you take!

    So let’s take a look at the whole process of resizing which involves several “layers” - see below.

    In the output of pvscan we see that the physical volume on /dev/sda3 is 400 GB in size and has 100 GB free/not in use. So gparted has extended the partition but not the physical volume (in LVM terms). To do that run:

    pvresize /dev/sda3

    The next step is to tell the logical volume (LV) to use that new space:

    lvextend -l+100%FREE /dev/FOGServer-vg/root

    As a final step you need to extend the filesystem.

    resize2fs /dev/FOGserver-vg/root

    Finally check the partition size in the output of df -h.

  • Anyone has success with Big Sur Beta?

    5
    0 Votes
    5 Posts
    1k Views
    J

    As far as I know, if you use Big Sur Beta to create a machine, you don’t need to do any other specific settings.
    If you don’t know much about it, you can take a look at this tutorial.
    It will tell you what you need to do .
    I did what it said before,the methods it provides are all helpful,i use method one, which is fast and simple, without me doing too many useless things.

  • Multicast

    5
    0 Votes
    5 Posts
    1k Views
    S

    @sjensen FOG 1.5.0 is years old and I can’t remember if multicast worked perfectly fine in that version or if there was an itch with that in 1.5.0.

  • 0 Votes
    5 Posts
    1k Views
    K

    @george1421 Obrigado

  • Retain multicast sessions?

    6
    0 Votes
    6 Posts
    1k Views
    R

    It’s been a few days and I just wanted to thank everyone for the replies. I am giving the scripting a whack and will report back if I make some progress with it.

  • Imaging with USB ethernet adapter

    2
    0 Votes
    2 Posts
    691 Views
    S

    @ddavis The MAC address is still used as unique identifier by FOG as being the most reliable. Changing that would mean working with the code. Feel free to work on this considering all the things mentioned on github: https://github.com/FOGProject/fogproject/issues/198

    The question is what your goal is in the end. Should those devices be imaged and then handed out and never some back? Or do they stay in your network and re-imaged from time to time? If so which kind of network connection will they use in the future?

    There are two other routes you can look into:

    Register the device with the the USB adapters MAC address and let it do the imaging. Rename the host manually or by OOBE. Install the fog-client service and enable that after deployment so it will automatically register other MAC addresses like wireless, approve those. Some USB adapters have the capability to pass-through the MAC address. This feature allows the MAC address of the native ethernet network device on the system to be used for imaging. Depends on the hardware you have.
  • FOG API Question

    9
    0 Votes
    9 Posts
    4k Views
    Chris WhiteleyC

    @sebastian-roth Thank you! I am going to give this a shot.

  • Improve documentation

    51
    0 Votes
    51 Posts
    23k Views
    JJ FullmerJ

    @sebastian-roth It’s beautiful!
    Thanks for figuring that out!

  • How to PXE boot to a Windows PE ISO 2020

    1
    0 Votes
    1 Posts
    988 Views
    No one has replied
  • API Help

    4
    0 Votes
    4 Posts
    987 Views
    S

    @chris-whiteley said in API Help:

    The only thing I can’t figure out is how to make that host be associated with a SnapinID. For instance, I want it to be associated with a SnapinID of 1. How can I do that?

    While I haven’t tested lately I would think you should be able to create a snapin association like this:

    curl -X PUT -d '{"snapins":[1]}' http://x.x.x.x/fog/host/33/edit

    Assuming the host you want to associate the snapin (ID 1) to has host ID 33. Don’t forget the API tokens in the call.

  • Usando iSCSI para repositório de imagens

    3
    0 Votes
    3 Posts
    603 Views
    S

    @kevinnew22 You need to explain what sda and sdb in your case are. Both are named “virtual disk”. Which one is iSCSI and what is the other one based on?

    When you want to extend your image space it’s usually best to mount the /images folder on a separate disk. So in this case you would create a partition on sdb, format with a filesystem and move your images over to that new disk - e.g.:

    use at your own risk!!

    parted -s /dev/sdb mkpart primary 0% 100% mkfs.ext4 /dev/sdb1 mkdir /images_new mount /dev/sdb1 /images_new/ mv /images/* /images_new/ mv /images/.mntcheck /images_new/ umount /images_new/ rmdir /images_new/ mount /dev/sdb1 /images/

    As well edit /etc/fstab to mount this nuew partition on boot up as well.

  • Kick off Task by system mac address

    3
    0 Votes
    3 Posts
    639 Views
    Chris WhiteleyC

    Okay, I will dig into this. Thanks!

  • Sysprep after deploying image

    4
    0 Votes
    4 Posts
    2k Views
    george1421G

    @alzen Well when you run sysprep it kind of resets the computer back to a neutralized condition. You can preset some values using an unattend.xml file you reference when you run sysprep. If you have ever installed windows directly from the dvd drive you know it asks a bunch of question before windows is setup. The unattend.xml file can be used to answer those questions ahead of time so it skips asking the installer the questions. This asking questions bit is part of OOBE (Out Of Box Experience) that is managed by WINdows SETUP. When you run sysprep it cleans out the system of drivers and settings that are important for that specific model of computer and reset its back to a discover new hardware mode.

    In my case I have 1 golden image for 15 models of hardware. I use a FOG feature to copy the correct drivers over to the target computer during imaging then when winsetup is running it finds the drivers and adds them to the windows configuration. WinSetup will only run when you reset the computer using sysprep.

  • Doubts About FOG Project Client Windows

    10
    0 Votes
    10 Posts
    2k Views
    C

    @george1421
    Very Thanks!

70

Online

12.7k

Users

17.6k

Topics

156.9k

Posts