@george1421 Just deploy and go, I don’t use the fog client.
Posts made by Richard Wise
-
RE: USB Network Adapters
-
RE: USB Network Adapters
I have been having a think about this. I use a postdownload script to update the unattend file with the computername. Could I add the USB Network adapters as nonspecific hosts in fog and add them to a group, then in this postdownload script add a section that see’s if the host is in this specific group and if it is then look at the system serial number from the BIOS (DMI) then using if or case find the serial number in a list and return the corresponding hostname, which can then be updated in the unattend file. If so would I need to add all 170 laptops info in to the actual postdownload script or can the script be set to look at an external csv file?
-
USB Network Adapters
We have recently acquired 170 laptops that do not have built in wired network ports so we have purchased a batch of 30 USB network adapters. The issue we have is that as the laptops are identified by the network adapters MAC address when one laptop is registered if we reuse a USB network adapter on another laptop it comes up as already registered with the original laptops hostname, so we then have to identify which USB adapter is being used and manually change the hostname on the fog server to the new hostname and then deploy the image (meaning we would only be able to add 30 hosts rather than the full 170). Is there a way to identify different hosts other than by using the network adapters MAC address?
-
RE: PXE Boot with Unmodifiable Windows DHCP Server
@george1421 I want it to boot directly to the fog menu and stay there indefinitely until an option is manually selected.
Currently it boots to the fog menu but if nothing is selected after a few seconds it automatically changes to an rEFInd - About screen.
-
RE: PXE Boot with Unmodifiable Windows DHCP Server
@george1421 I have come across a small annoyance. The USB drive boots to the Fog menu successfully, however if no keyboard entry is detected after around 5 seconds or so the menu changes to an rEFInd - About screen. Any ideas how to stop this from happening?
Thanks
-
RE: PXE Boot with Unmodifiable Windows DHCP Server
@george1421 Your solution worked perfectly on the few devices I have tried so far (tested by both running a capture and deploy).
Many Thanks
-
PXE Boot with Unmodifiable Windows DHCP Server
We have a Windows 2012 DHCP Server where we are not allowed to change the DHCP Options as required to directly PXE boot to our Fog Server. The Windows server is currently setup to PXE boot to a WDS server to image our primary computers, however I want to use the fog server to image a different batch of computers which cannot be configured through the primary WDS server.
Am I right in assuming that it should be possible to use the ‘USB Boot UEFI client into FOG menu (harder way)’ option as described on your Wiki page (https://wiki.fogproject.org/wiki/index.php?title=USB_Bootable_Media) to create a USB drive that will connect directly to our Fog Server bypassing the DHCP PXE settings? If so I know the link to Rom-O-Matic on this webpage doesn’t work however I found an alternative URL that appears to be the same site (https://rom-o-matic.dev/) however when I follow your instructions I get a ‘Build failed: “make” unexpectedly returned exit value 2 at /var/www/rom-o-matic/build.fcgi line 637’ error so I expect they may have made some changes to the system since you made the original instructions. Any idea what options need changing on this new system to get a working efi file?
I have also followed your instructions on how to create a USB FOS Client (https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image?_=1595839987136) and that appears to work fine however I would like to take advantage of multicast which this option does not support.
I am currently running Fog 1.5.9-RC2 running on CentOS 8.
Thanks.
-
RE: Postdownload Script Issue
I ran a debug task and it showed that my fog.ad file had multiple $‘\r’ command not found errors which, after a bit of googling, turned out to be due to windows line returns being present in the file. I ran the command sed -i ‘s/\r$//’ fog.ad and everything is now running fine.
Thanks
-
Postdownload Script Issue
Server
- FOG Version: 1.4.4
- OS: Ubuntu 16.04 Server
Client
- Service Version: N/A
- OS: Windows 10
Description
I am trying to use the Fog Post Download Scripts to rename my computers as they are imaged. I have created a couple of scripts taken and modified from this site, however when I copy them to the postdownloadscripts directory on the server and deploy an image the host isn’t renamed (I don’t even see any reference to the postdownload script even attempting to run). Does anything need to be enabled for these scripts to run?
I have no knowledge on how the scripting language used works so it is likely that there may be an issue with my scripts, can someone have a look over them and let me know how they look:
fog.postdownload:
#!/bin/bash . /usr/share/fog/lib/funcs.sh [[ -z $postdownpath ]] && postdownpath="/images/postdownloadscripts/" case $osid in 5|6|7|9) clear [[ ! -d /ntfs ]] && mkdir -p /ntfs getHardDisk if [[ -z $hd ]]; then handleError "Could not find hdd to use" fi getPartitions $hd for part in $parts; do true done dots "Mounting partition $part" ntfs-3g -o force,rw $part /ntfs >/dev/null 2>&1 if [[ ! $? -eq 0 ]]; then echo "Failed" debugPause handleError "Failed to mount $part ($0)\n Args: $*" fi echo "Done" debugPause . ${postdownpath}fog.ad umount /ntfs ;; *) echo "Invalid OS" debugPause return ;; esac
#!/bin/sh unattend="/ntfs/Windows/Panther/Unattend.xml"; if [ -f "$unattend" ]; then dots "Preparing Sysprep File"; rm -f /ntfs/Windows/System32/Sysprep/Unattend.xml; echo "Done"; dots "Writing Computer Name"; sed -i "/ComputerName/s/*/$hostname/g" $unattend echo "Done"; dots "ComputerName Set To"; echo $hostname fi
Thanks
-
Dnsmasq Issue
Server
- FOG Version: 1.44
- OS: Ubuntu 16.04 Server LTS
Client
- Service Version: N/A
- OS: Windows 10
Description
I have just installed fog successfully however as we are unable to change settings on our DHCP server we need to use dnsmasq to redirect PXE boot requests. I have installed dnsmasq and created an ltsp.conf file, however when I PXE boot a computer it just goes through to the original PXE boot server (as setup in the windows DHCP server), dnsmasq does not appear to be working at all. In the Wiki it mentions about a possible conflict with dnsmasq-base and says to remove a line in the NetworkManager.conf file, however that file does not exist on my install.
Any ideas what I can check/change on my system to get dnsmasq up and running correctly.
Thanks
-
Disable DHCP Server
I have installed Fog32 on Ubuntu 12.04, during install I specified Yes to use the Fog server for DHCP Services. Since then I have decided that I want to give the proxyDHCP setup ([URL=‘http://www.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server)%20a’]http://www.fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server) a[/URL] try.
I am a novice when it comes to Linux can someone tell me what I need to do to disable the existing DHCP setup on my fog server, rather than having to reinstall everything from scratch