• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. DBCountMan
    3. Topics
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 65
    • Posts 306
    • Best 19
    • Controversial 0
    • Groups 0

    Topics created by DBCountMan

    • D

      Status of NFSv4

      Feature Request
      • • • DBCountMan
      5
      0
      Votes
      5
      Posts
      210
      Views

      D

      @george1421 Thanks! I wonder if a chat bot could help with reading through what worked and make a tutorial.

    • D

      Hide/Secure FOG Client download page

      General
      • • • DBCountMan
      3
      0
      Votes
      3
      Posts
      199
      Views

      D

      @Tom-Elliott said in Hide/Secure FOG Client download page:

      Private key is built to the client at install time. The Public server ca cert is pulled at install time

      This is what I was unclear about. I thought the installer already had FOG’s private key. So each client gets its own private key?

    • D

      Unsolved Restrict Host Group from User Groups via Access Controls

      FOG Problems
      • • • DBCountMan
      1
      0
      Votes
      1
      Posts
      59
      Views

      No one has replied

    • D

      Unsolved Track activity for unregistered hosts

      FOG Problems
      • • • DBCountMan
      4
      0
      Votes
      4
      Posts
      124
      Views

      george1421G

      @DBCountMan In the post init or post install scripts the $mac variable contains the mac address of the target computer

      To get the ip address this script will work

      myip=`ip route get 8.8.8.8 | awk 'NR==1 {print $NF}' | cut -d "." -f1-2`;

      Getting the user id of who did it will be a bit harder since they never log into the web ui. The user ID and password they key in during the deploy image stays in ipxe and is not sent onto FOS Linux. I’d like to say that the username field can be trapped from iPXE and then pass that variable as a kernel parameter onto fos linux. Once that is done then the $username variable should exist in your fog scripts. Getting that info into the fog database is another challenge. In the post install script the /ntfs directory is mapped over to the fog servers /images/dev where you could append an echo statement into a text file.

      Understand I’m taking in programming pseudo code. But I see an path here and it should work.

    • D

      Restrict FOG Client download page to specific subnet

      General
      • • • DBCountMan
      1
      1
      Votes
      1
      Posts
      146
      Views

      No one has replied

    • D

      Unsolved Disable Autoregistration via FOG Client

      FOG Problems
      • • • DBCountMan
      5
      0
      Votes
      5
      Posts
      490
      Views

      Tom ElliottT

      @DBCountMan From my memory, yes, that is correct.

    • D

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

      General
      • • • DBCountMan
      3
      0
      Votes
      3
      Posts
      338
      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.

    • D

      Unsolved kernel panic - not syncing: VFS: Unable to mount root fs when booting EFI

      FOG Problems
      • • • DBCountMan
      4
      0
      Votes
      4
      Posts
      539
      Views

      S

      @DBCountMan I suggest to verify the checksum (sha256 file on github). If the checksum is wrong, then re-download init.xz. But if it’s right then try another init.xz version, e.g. https://github.com/FOGProject/fos/releases/download/1.5.10/init.xz

    • D

      Solved ipxe chain boot.php permission denied on pxe but not autoboot

      FOG Problems
      • • • DBCountMan
      15
      0
      Votes
      15
      Posts
      1.3k
      Views

      D

      @george1421 That would be the next step. When I said “replicate” I meant that I have a cron sync from primary to secondary every night, not instantly. So lets say I set up both servers to accept ipxe req’s and a field tech loads a new image on the primary at 10am and wants to deploy them to 20 PCs in the field. Primary FOG server takes a dump. The secondary FOG server won’t have the image until midnight. So there’s one issue. Unless I set cron to sync every hour or 30min. Another issue I found with rsync as much as I love it, is that if the primary server goes offline, the secondary, which has the /images nfs share from FOG1 mounted, will appear empty, and rsync will sync an empty dir to its own /images, thus wiping out that folder. I read that rsync can be tuned to not sync if a directory is empty but I have to research and test.

    • D

      Unsolved Schedule consecutive tasks

      FOG Problems
      • • • DBCountMan
      1
      0
      Votes
      1
      Posts
      130
      Views

      No one has replied

    • D

      Snap-in: Run a powershell script prior to capture

      General
      • • • DBCountMan
      2
      0
      Votes
      2
      Posts
      337
      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

    • D

      Configure FOG Server with two NICs

      General
      • • • DBCountMan
      7
      0
      Votes
      7
      Posts
      801
      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?

    • D

      Limit disk space that FOG can use

      General
      • • • DBCountMan
      4
      0
      Votes
      4
      Posts
      435
      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.

    • D

      Unsolved Suggestion for install.sh script

      FOG Problems
      • • • DBCountMan
      3
      0
      Votes
      3
      Posts
      260
      Views

      D

      @Sebastian-Roth Challenge accepted!😁

    • D

      Unsolved Very slow imaging performance on XCP-NG guest vm

      General Problems
      • • • DBCountMan
      8
      0
      Votes
      8
      Posts
      995
      Views

      D

      @Milheiro Zstd level is compression level right? That I’m aware of. Makes sense if you increase compression that it would take longer to capture/deploy. What I was experiencing was linux kernel level errors, only when deploying to a virtual disk that resides on the xenserver’s local storage array. I wonder if it is something like Truenas where it performs worse when you let the storage controller handle the array vs a soft-raid controlled by the OS.

    • D

      Unsolved ipxe boot slow after changing to HTTPS

      FOG Problems
      • • • DBCountMan
      38
      0
      Votes
      38
      Posts
      2.7k
      Views

      S

      @brakcounty said in ipxe boot slow after changing to HTTPS:

      Even when using the Paravirtualized Network Adapter in VBox?

      Learning something new every day! Wow, didn’t know this and never tried it before. Thanks!!!

    • D

      Append a prefix to computername based on group membership

      General
      • • • DBCountMan
      9
      0
      Votes
      9
      Posts
      667
      Views

      D

      @george1421 I tried entering a hostname after the prefix was appended, for example I entered “TestVM” thinking the full registered hostname would be “NCIT-TestVM”, but the device was registered as “TestVM”.

    • D

      Does LDAPS work during iPXE menu login?

      General
      • • • DBCountMan
      10
      0
      Votes
      10
      Posts
      806
      Views

      B

      @george1421 said in Does LDAPS work during iPXE menu login?: mcdvoice

      @brakcounty The code support switching to ldaps by adjusting the port number, I suspect that bit won’t work as advertised. I don’t think that element was ever tested. The reason why I say that is to make it work it needs an LDAP certificate installed.

      Good one. Thanks for sharing a nice piece of info.

    • D

      Predefine AD users and assign to Access Control Role

      General Problems
      • • • DBCountMan
      2
      0
      Votes
      2
      Posts
      228
      Views

      S

      Just for reference as the link did not get pasted…
      https://forums.fogproject.org/topic/14621/ldap-with-access-control-default-role-assignment-at-first-login

    • D

      Set up LDAP for FOG, but FOG activites aren't tracking AD users

      FOG Problems
      • • • DBCountMan
      2
      0
      Votes
      2
      Posts
      180
      Views

      D

      In case anyone else has this question, the Reports tab serves this purpose. Once an AD user logs into FOG and starts doing things, the history report will log it.

    • 1 / 1