• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. psyfer9983
    3. Topics
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 12
    • Groups 0

    Topics

    • P

      Windows Powershell script for DHCP config

      Watching Ignoring Scheduled Pinned Locked Moved Tutorials
      1
      1 Votes
      1 Posts
      703 Views
      No one has replied
    • P

      Option to edit Windows registry via FOG PXE boot?

      Watching Ignoring Scheduled Pinned Locked Moved Feature Request
      10
      0 Votes
      10 Posts
      3k Views
      george1421G

      @psyfer9983 There isn’t a tutorial on what you ask, because poking about in the windows registry using a non-windows OS is not typically a good choice. But with that said, I can give you the match and can of gas. What you do with them is up to you.

      In this post there is an example of how to use the reged linux utility. https://forums.fogproject.org/topic/8889/fog-post-install-script-for-win-driver-injection/4

      From that post here is the interesting snippet of code.

      regfile="/ntfs/Windows/System32/config/SOFTWARE" key="\Microsoft\Windows\CurrentVersion\DevicePath" devpath="%SystemRoot%\DRV;%SystemRoot%\inf;"; reged -e "$regfile" &>/dev/null <<EOFREG ed $key $devpath q y EOFREG

      You can probably stack the ed commands so you only need to call reged once. Here is a help page for reged: http://manpages.ubuntu.com/manpages/bionic/man8/reged.8.html

      So once you have the bash script you need, you can call it during the post install actions after the image is placed on the target hard drive and before FOS exits and reboots. The first link shows you how to update/attach scripts to the postinstall script (which can be used for driver deployments).

    • P

      New PXE menu entry: Deploy Image & Shutdown

      Watching Ignoring Scheduled Pinned Locked Moved Feature Request
      27
      0 Votes
      27 Posts
      11k Views
      P

      @Tom-Elliott Thank you for trying. That field per each menu option would be great. As for now, we are setting Fog kernel with shutdown=1 when we need to mass deploy machines before sending them out to the sites and then remove the shutdown setting. Its a little hassle, but hey, it works. I’ll keep an eye out on newer releases to see if you manage to get the shutdown field put in.

    • P

      Fresh install FOG 1.3.4 on Ubuntu Server 16.04.1 LTS Fails

      Watching Ignoring Scheduled Pinned Locked Moved FOG Problems
      5
      0 Votes
      5 Posts
      2k Views
      Wayne WorkmanW

      @psyfer9983 After changing the OS’s addressing & dns and gateway and such, the tool in here called updateIP will change all the needed spots for FOG’s files. https://github.com/FOGProject/fog-community-scripts

      It will also re-write dhcpd.conf properly if the box is configured to do dhcp - and will do so correctly even for up to 4 interfaces on one system.

    • 1 / 1