@tom-elliott Thanks Tom!
Posts made by Chris Whiteley
-
RE: FOG API Question
@sebastian-roth I was able to add this and it worked! Thank you so much!
-
RE: FOG API Question
I am curious if anyone else knows why it doesn’t queue the Snapin?
-
RE: FOG API Question
@tom-elliott Just checking back in on this one. I know you guys are busy. Thanks!
-
RE: FOG API Question
@tom-elliott Yes, sorry Tom, I meant Task Type ID of 1. It has a snapin associated and when I set it directly from the “Tasks” Menu, it includes the Snapin.
-
FOG API Question
I am trying to image with a task ID of 1 and while it does set the job to deploy, it is also supposed to include the snapins. For whatever reason, it is not pushing the snapin and I am having to do it manually. Am I missing something?
id : 1 name : Deploy description : Deploy action will send an image saved on the FOG server to the client computer with all included snapins. icon : download kernel : kernelArgs : type=down type : fog isAdvanced : 0 access : both initrd : isSnapinTasking : False
-
RE: Dell Latitude 5510 No network interface found! Kernel might not have the correct driver!
@asbenavides we have imaged the Latitude 5510’s. I am trying to remember if we just used the USB-C to ethernet adapters or if we used the onboard ethernet. It was a while ago.
-
RE: API Help
I figured out my question now. I have it to where it will create a host within fog via the API. The only thing I can’t figure out is how to make that host be associated with a SnapinID. For instance, I want it to be associated with a SnapinID of 1. How can I do that?
-
API Help
I am trying to do something fairly simple with the API and that is just to find the host that I am currently on and start the image that is already associated with it.
I have the API stuff done and that works, and I can pull information from stealing other people’s work, but I can’t figure out the simple start a task with the image assigned to it.
Thanks!
-
RE: Dell Optiplex 7080
@george1421 It looks like I was on a different version. The new version worked! Thanks for jogging my memory.
-
Dell Optiplex 7080
I am having an issue with the Dell Optiplex 7080 I just got booting into the registration screen. It will pull up the FOG menu and then will get to a certain point and not pull a DHCP address after that.
It is the Intel PCI-E Ethernet Adapter: https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=ppr2c
I am currently running Fog 1.5.9.34
Thanks!
-
RE: FOG API Question
@Sebastian-Roth I am trying to create a new variable. I don’t care if it shows up in FOG at all as long as it gets stored somewhere for me to be able to recall it via the FOG API.
-
RE: FOG API Question
@Sebastian-Roth So that helped after I checked the box. Now I need to add another question in the Full Host Registration. I have set it up to ask it and assigned it a variable. How do I get that to show up within FOG?
I used “price” assigned as “$price”
price="" echo -n " * What is the purchase price of this device (1393.01): " read price price=$(echo $price | base64)
I also added this in the last long line
&price=$price
-
RE: FOG API Question
I did not have it set in the FOG Configuration. That was a good start
-
FOG API Question
I was looking at the FOG API and tried to copy examples like the one here: https://raw.githubusercontent.com/FOGProject/fog-community-scripts/master/PowershellModules/Snippets/Fog-Commands.psm1
I can’t seem to even get a list of users out. I guess I have no idea what I am doing.
My end goal is to take the fields of the machine that is being imaged of the “other tag #1” and “other tag #2” and output them.
I hope this is easy to do.
-
RE: Post Init Script Issues
ls -al /images/dev/postinitscripts/
drwxrwsrwx. 2 fogproject root 70 Nov 3 15:26 . drwsrwsrwx. 4 fogproject root 73 Nov 4 07:45 .. -rwxrwxrwt. 1 fogproject root 10000 Nov 3 15:19 fog.man.reg.fix -rwxrwxrwx. 1 fogproject root 279 Nov 3 15:45 fog.postinit -rwxrwxrwt. 1 fogproject root 502 Nov 3 15:48 patch.fullreg
cat /images/dev/postinitscripts/fog.postinit
#!/bin/bash ## This file serves as a starting point to call your custom pre-imaging/post init loading scripts. ## <SCRIPTNAME> should be changed to the script you're planning to use. ## Syntax of post init scripts are #. ${postinitpath}<SCRIPTNAME> . ${postinitpath}patch.fullreg
-
RE: Post Init Script Issues
@Tom-Elliott Thanks Tom for showing that. It looks like mine is pulling from /images/postinitscripts and not the /images/dev/postinitscripts for doing a full host registration and inventory. Is there a way to change “other tag” and other verbiage both in the FOG web and in the database? Basically, I am looking to put certain info inside of FOG and then find a way to export that out to a different system.
For Instance, when my company buys computers, we have to track the Purchase Order (P.O.) they go with. I would like to have one of the prompts be asking for the P.O. and then find a way to export that or send that info to another system.
Is that even possible?