Yes I am aware it runs as system. The script has credentials embedded for network access, but it does not seem to even be making it that far is there a way for me to ensure the zip is being downloaded extracted and ran?
Posts made by Troye Johnson
-
RE: SnapinPack not deploying
-
SnapinPack not deploying
Hi all,
I am having issues with a snapin pack deployment and I am not sure where to start troubleshooting any guidance would be appreciated.
First my server version
Wed Mar 29, 2017 14:10 pm
CentOS
Running Version 1.3.4
SVN Revision: 6066I am trying to use a PS script within a snapin pack. The script works fine outside of fog its just having issues when being called by fog I honestly cant even tell if the zip is downloading to the machine in the fog temp directory.
The client logs is below
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 3/29/2017 2:06 PM Client-Info Client Version: 0.11.9 3/29/2017 2:06 PM Client-Info Client OS: Windows 3/29/2017 2:06 PM Client-Info Server Version: 1.3.4 3/29/2017 2:06 PM Middleware::Response Success 3/29/2017 2:06 PM SnapinClient Snapin Found: 3/29/2017 2:06 PM SnapinClient ID: 106 3/29/2017 2:06 PM SnapinClient Name: PDQ 3/29/2017 2:06 PM SnapinClient Created: 2017-03-29 14:06:37 3/29/2017 2:06 PM SnapinClient Action: 3/29/2017 2:06 PM SnapinClient Pack: True 3/29/2017 2:06 PM SnapinClient Hide: False 3/29/2017 2:06 PM SnapinClient Server: 3/29/2017 2:06 PM SnapinClient TimeOut: 60 3/29/2017 2:06 PM SnapinClient SnapinPack File: powershell.exe 3/29/2017 2:06 PM SnapinClient SnapinPack Args: -ExecutionPolicy Bypass -File "[FOG_SNAPIN_PATH]\pdqman_deploy.ps1" -DeployComputerName "pdq-01" -Packagename "Fedline" 3/29/2017 2:06 PM SnapinClient File: pdqremote.zip 3/29/2017 2:06 PM Middleware::Communication Download: http://fogserver/fog/service/snapins.file.php?mac=18:A9:05:F5:60:9E||00:00:00:00:00:00:00:E0&taskid=106 3/29/2017 2:07 PM SnapinClient C:\Program Files\FOG\tmp\pdqremote.zip 3/29/2017 2:07 PM SnapinClient Processing SnapinPack pdqremote.zip 3/29/2017 2:07 PM SnapinClient Extracting SnapinPack 3/29/2017 2:07 PM SnapinClient Processing SnapinPack settings 3/29/2017 2:07 PM SnapinClient New SnapinPack File: powershell.exe 3/29/2017 2:07 PM SnapinClient New SnapinPack Args: -ExecutionPolicy Bypass -File "C:\Program Files\FOG\tmp\PDQ\pdqman_deploy.ps1" -DeployComputerName "pdq-01" -Packagename "Fedline" 3/29/2017 2:07 PM Bus { "self": true, "channel": "Notification", "data": "{\r\n \"title\": \"Installing PDQ\",\r\n \"message\": \"Please do not shutdown until this is completed\"\r\n}" } 3/29/2017 2:07 PM Bus Emmiting message on channel: Notification 3/29/2017 2:07 PM SnapinClient Starting snapin... 3/29/2017 2:07 PM SnapinClient Snapin finished 3/29/2017 2:07 PM SnapinClient Return Code: 0 3/29/2017 2:07 PM Bus { "self": true, "channel": "Notification", "data": "{\r\n \"title\": \"PDQ installed\",\r\n \"message\": \"Installation has finished and is now ready for use\"\r\n}" } 3/29/2017 2:07 PM Bus Emmiting message on channel: Notification 3/29/2017 2:07 PM Middleware::Communication URL: http://fogserver/fog/service/snapins.checkin.php?taskid=106&exitcode=0&mac=18:A9:05:F5:60:9E||00:00:00:00:00:00:00:E0&newService&json ------------------------------------------------------------------------------
Thank you for any help.
-
RE: Renaming A PC using Fog
Thanks Tom, you never fail me ill give it a try.
-
Renaming A PC using Fog
When renaming a PC through fog the process is that it UN-joins the domain, rename the PC and rejoin the domain. The problem I am seeing with this process is when it UN-joins the domain the computer in the AD tree while sometimes it is deactivated other times its not and it also still leaves the old PC name in DNS, which has caused issues with other applications & services. Any ideas on how to make this process better?
-
RE: Webcast: Imaging with FOG, Managing with PDQ
@george1421 I did try this and it worked, but also in the webcast I heard them say “did you remove your password from the script” my boss thinks they have a way to run the script as any user from from the fog console. @PDQ can you explain how that process works?
-
RE: Webcast: Imaging with FOG, Managing with PDQ
@PDQ & @george1421 Hi guys I have a question how did you guys pass the PDQ background user credentials from fog. Did you change the fog service user to match that user?
-
RE: Fog .032 and HP8000 elite
@george1421 I did have to upgrade to the latest version of fog for this all to work. i am currently on Running Version 1.3.0-RC-1
SVN Revision: 5936. Thanks you all for your help. -
RE: Fog .032 and HP8000 elite
So i figured out that ipxe.krn was causing my “enter tftpboot” issues for some reason with the old ipxe.krn the issue did not happen but also did not contain the drivers I needed for the nic of the HP8000 Elite desktops I was working on. The new ipxe.krn had the correct drivers but refused to pass the tftpboot server information.So I tried the ipxe.krn from ipxe.iso located on the site http://ipxe.org/download and it worked for me. I no longer need to enter the address and i was able to inventory the pc.
-
RE: Fog .032 and HP8000 elite
@george1421 the thing is it is the only server that is used currently for pre-boot dhcp (the only one turned on in the list). Maybe if I give more details the fog server is on the .1 subnet so 192.168.1.x and the client pc is on the 192.168.11.x subnet the dnsmasq proxy dhcp is configured to allow it to work across any 192.168.x.x subnet so the machine gets an ipaddress then loads the to Ipxe and after it gets to ipxe it configures the nix and says ok and then ask to enter the tftp server.
-
RE: Fog .032 and HP8000 elite
dnsmasq (proxyDHCP) is installed on the fog server. The switch is using IP-helper-Addresses to delver and ip address for pre-boot. dnsmasq only serves as a proxydhcp server not the actual dhcp server it is the switch that actually gives out the preboot ipaddress. no they are not on the same subnet, but in dnsmasq config i placed the x.x.x.x,proxy,255.255.0.0 in order for it to work across subnets.
-
RE: Fog .032 and HP8000 elite
@george1421 We have a windows dhcp server but my boss uses iphelper with dnsmasq to do proxydhcp from the switch. He gave it to me to get it to work I would much rather use dhcp from the windows servers with options 66 and 67.
-
RE: Fog .032 and HP8000 elite
Ok So i got the latest version working on centos 6 with proxydhcp. When trying preboot into fog it starts to ask me to input the tftp server. If i manually put in the server I can get to the fog screen and it seems to work fine, but I am trying to figure out why it is asking me to put in the fog server.
-
RE: Fog .032 and HP8000 elite
Ok thanks I will try a newer version of fog.
-
Fog .032 and HP8000 elite
Fog .032 and HP 8000 elite. I cannot seem to get our HP 8000 elite PC’s to image or do any task in fog. When I run the compatibility from fog menu it does state that network drivers are incompatible. but I am also receiving errors like this one “acpi lnxcpu 00 invalid pblk length”. Any help would be appreciated.
-
RE: Latest FOG 1.0.0
Hey tom hows has everything been I see i missed alot where up to 1.0.0 now. I am rebuilding my labs as we speak and should be ready to help test again soon.
-
RE: Latest FOG 0.33b
dont think it will was trying to avoid using dchp on my windows server may have to though.
-
RE: Latest FOG 0.33b
Hey tom question in general I am debating if I need a dhcp server for fog is there any way to use the basic dhcp on the modem and have fog just do ipxe boot request?
-
RE: Latest FOG 0.33b
Tom you and lee rock I will give a go gotta get my server back up today now as you know I just moved. But I will let you know how I do with it. will there be updated instructions for any one new who may need this?