• Groups: Send capture task to all hosts in group to corresponding image

    3
    0 Votes
    3 Posts
    579 Views
    D

    @Sebastian-Roth I know nothing about API’s so I wouldn’t know where to start with that, like even how to form a proper question to ask the google lol. I’m using FOG 1.5.10. I have to keep testing and troubleshooting the image cron jobs.

  • exiting from Fog custom pxe menu item - wipe HD

    3
    0 Votes
    3 Posts
    508 Views
    Roger SaffleR

    @george1421 Perfect thanks.

  • Limiting the number of hosts registered

    8
    0 Votes
    8 Posts
    1k Views
    Tom ElliottT

    @sopinv I don’t understand the why.

    You can do a trigger in your database like this:

    DELIMITER // CREATE TRIGGER limit_rows_trigger AFTER INSERT ON your_table FOR EACH ROW BEGIN DECLARE row_count INT; SELECT COUNT(*) INTO row_count FROM your_table; IF row_count >= 1000 THEN SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'Row limit reached (1000 rows)'; END IF; END; // DELIMITER ;
  • API wake on lan

    10
    0 Votes
    10 Posts
    2k Views
    JJ FullmerJ

    @Lenain Just a little FYI.
    I don’t know when I’ll have time to test it out fully before putting it into production, but the idea of adding this to the module was not forgotten and I started a branch for it while I was working on some other bug fixes
    https://github.com/darksidemilk/FogApi/commit/03c0342cff759ef272a64bbb91cbb1b5999bab9c

  • Uninstall Fog Client

    6
    0 Votes
    6 Posts
    1k Views
    Tom ElliottT

    @Florent For removal of the FOG Client, a connection to the server is not needed.

    The only reason it’s needed during install is because it’s communicating to the fog server to get the certificates needed from the server. These certificates are not necessary to remove the software.

  • LDAP plugin

    7
    0 Votes
    7 Posts
    1k Views
    EazisE

    @Tom-Elliott Yes this resolves the issue.

  • Static IP adress for Wi-Fi interface using CSV

    Moved
    2
    0 Votes
    2 Posts
    303 Views
    george1421G

    @Numa09 First this looks like a DOS Batch file not a VBS file. That is maybe why its giving you an error with line 2.

    Second make sure that csv file is part of your snapin pack.

  • Snap-in: Run a powershell script prior to capture

    2
    0 Votes
    2 Posts
    760 Views
    J

    @DBCountMan said in Snap-in: Run a powershell script prior to capture:

    I have no experience with snapins and was wondering how can I use them to run a powershell script before rebooting to capture. I have a script that clears the Windows logs and in that script (right now) at the very end shuts the computer down, preparing it for manual capture. I have the FOG client installed on my test system.

    :EDIT: Sorry I think I figured it out.

    Might as well think out loud in case anyone else can use this info. I got the snapin to run my clearalllogs.ps1 script, now the next challenge is to have the script run then immediately after it reboots, start the capture.

    Run a PowerShell script prior to capture is a handy feature that allows you to automate tasks and streamline your workflow. Great addition to the toolset

  • Windows 10 capture trouble

    2
    0 Votes
    2 Posts
    451 Views
    S

    @Rizingknight72 Make sure you have fast boot disabled in Windows and so a clean shutdown before you start capturing.

  • FOG with TrueNAS on Proxmox Setup

    7
    0 Votes
    7 Posts
    3k Views
    O

    @george1421 Oh that makes sense I did guess that TrueNAS scale supports that too

  • systemrescuecd 5.1.2 not boot correctly from LAN

    3
    0 Votes
    3 Posts
    886 Views
    george1421G

    @tadziuuu Are you referring to booting bios based computers? If yes then use memdisk to load the cd iso image into memory. The one caveat here is that the iso disk must be less than 2GB in size since memdisk is a 32 bit application and there needs to be room in ram for the OS to boot from the iso image. In the same tutorial you found the parameters in your first post, search for memdisk to see what parameters you need.

  • Booting a host after deploying image

    2
    0 Votes
    2 Posts
    520 Views
    george1421G

    @joseheitor I can think of 2 possible conditions to cause this.

    The reboot process leaves the hardware in a strange state where iPXE can’t get an IP address on a warm start. Your network switch and spanning tree (if standard spanning tree) is enabled would cause this. Explanation Default Spanning tree takes 27 seconds to start forwarding network data after a network wink (as if the computer is rebooting). A warm start boots faster than a cold start so by the time iPXE gives up STP has not started forwarding data yet. Where at cold start the computer tests memory and checks hardware that isn’t needed on a warm start. But again this is only a guess as to the reason.

    One quick check for spanning tree is to put a dumb (cheap) un managed network switch between the building switch and pxe booting computer, see if that resolves the post imaging reboot. If it does then look into your network switch settings to enable fast-stp, port-fast, or RSTP (whatever your switch vendor calls it).

  • How to pass host-specific settings into host after deploying image

    5
    0 Votes
    5 Posts
    947 Views
    J

    @george1421 Fantastic! Many thanks.

  • API Auth and Specs

    4
    0 Votes
    4 Posts
    881 Views
    J

    Thanks for the information.

  • How to stop active tasks via terminal

    7
    0 Votes
    7 Posts
    1k Views
    I

    depending on the task if i recall correctly there is a folder in the TFTP or near by that has a file created with the MAC address as the tile name for that job.

    (Just saying 🙂 )

    Correct me if I’m wrong please.

  • Hard Drive not recognized after image is deployed

    3
    0 Votes
    3 Posts
    734 Views
    B

    @jnelly17 said in Hard Drive not recognized after image is deployed:

    HP Elite SFF 800 G9

    Turn off the Raid option in storage section, your PC will boot up!

  • Configure FOG Server with two NICs

    7
    0 Votes
    7 Posts
    1k Views
    D

    @george1421 I see the set fog-ip variable and set storage-ip variable. Could I set those two variables with IPs of different interfaces? So for example, the interface IP server ipxe will be the “set fog-ip” and the interface IP serving NFS will be the “set storage-ip” var. Would that work?

  • Hosts/Images buttons link to a blank page

    Locked
    3
    0 Votes
    3 Posts
    434 Views
    No one has replied
  • Limit disk space that FOG can use

    4
    0 Votes
    4 Posts
    786 Views
    S

    since you mentioned that you do not want to partition the volume, an alternative approach could involve creating a disk quota at the operating system level. Disk quotas are a feature provided by the operating system (in this case, the Hyper-V host) that allows you to set limits on the amount of disk space a specific user or group can consume.
    Set up the network share on the Hyper-V host where you will store the FOG images. Ensure the share is accessible from the FOG VM. Inside the FOG VM, mount the network share to the /images directory, which is where FOG stores the images. You can do this using the mount command or by adding an entry in /etc/fstab for persistent mounting. Configure disk quotas on the Hyper-V host for the user or group associated with the FOG VM. Set the quota limit to the desired amount of disk space you want FOG to use for images.
    Keep in mind that disk quotas are managed at the operating system level and are not specific to FOG. Therefore, this method will not provide real-time monitoring of disk usage within the FOG web interface. You will need to monitor the disk space usage separately on the Hyper-V host.

  • Multiple disk support

    4
    0 Votes
    4 Posts
    800 Views
    S

    @Evelyn09 said:

    Can I use Linux device file name, disk size, and disk serial number?

    Yes to all three if you use FOG 1.5.10.

163

Online

12.4k

Users

17.4k

Topics

155.9k

Posts