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

    2
    0 Votes
    2 Posts
    994 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
    608 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
    4k 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
    2k 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
    705 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
    2k Views
    J

    @george1421 Fantastic! Many thanks.

  • API Auth and Specs

    4
    0 Votes
    4 Posts
    1k Views
    J

    Thanks for the information.

  • How to stop active tasks via terminal

    7
    0 Votes
    7 Posts
    2k 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
    973 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
    2k 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
    550 Views
    No one has replied
  • Limit disk space that FOG can use

    4
    0 Votes
    4 Posts
    1k 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
    1k 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.

  • NFS error

    6
    0 Votes
    6 Posts
    2k Views
    B

    Make sure your Proxmox server is set up with a static IP address on the physical network interface. For the virtual network, ensure that it is set up correctly, and all VMs and LXC containers are attached to this network. Assign static IP addresses to all your servers and clients to avoid conflicts with DHCP. Reserve these IP addresses in your DHCP server configuration (pfSense) to prevent accidental IP allocation conflicts. Ensure that your LXC container (running Ubuntu Server) has the correct network configuration. Use a bridged network interface so that the container can get its IP address directly from the physical network. Double-check that the LXC container’s network settings are consistent with your Proxmox virtual network setup.

  • Fog Imaging reports

    2
    0 Votes
    2 Posts
    784 Views
    Tom ElliottT

    @zaboxmaster The history of the report should still show the fact that it was imaged, though the links to the “host” element are done based on the existing of the physical host in the database.

    I believe this is known and could be relatively easily fixed by just planting the current device name along with the hostID.

    The reason that this isn’t done, however, is that it’d still be relying on a database entry, and there are cases where people deploy an image to a device that isn’t registered. What name do you use for that particular case?

  • How to use Sergie Strelec over FOG?

    3
    0 Votes
    3 Posts
    1k Views
    S

    @Sebastian-Roth yeah i have FOG server and now work with it, capture and deploy my favorite OS and images, actually that i say we need boot sergei strelec over FOG in network boot with live type, in fact we used Hiren PE but we need use Sergei, these products are different, Hiren have just 1 wim file but sergei have 4 wim file!
    if i use 1 of 4 or combine or merge together it will work and sergei will boot up but the programs not working, it look like the apps wont load, in result do you have any idea?

  • deploy lento

    Locked
    2
    0 Votes
    2 Posts
    542 Views
    S

    @alexamore90 May I ask you to not double post in this forum!

    https://forums.fogproject.org/topic/16907/deploy-slow

  • deploy slow

    3
    0 Votes
    3 Posts
    936 Views
    S

    @alexamore90 Definitely look into using multicast if you want to image many in little time!!

  • Rerun Installer

    6
    0 Votes
    6 Posts
    2k Views
    L

    On Linux, ‘mv’ is used to rename files. ‘fogsettings-firstInstall’ is not a folder, it is the new name of the file ‘.fogsettings’, in the FOG wiki they do it so you can keep a backup copy of what you had.

  • Using FOG without PXE - FOG client on USB key

    10
    0 Votes
    10 Posts
    5k Views
    L

    Hello george1421,

    Got everything working with the USB client.

    Thank you for your help.

    Louis.

73

Online

12.7k

Users

17.6k

Topics

156.8k

Posts