Full Inventory with Kernel Options?
-
I created a new menu entry with “pci=noacpi mode=manreg” in the Boot Options. That seems to have worked, as I did arrive at the normal Full Inventory screen.
However, at this point the onboard keyboard was not functioning. Continuing with a usb keyboard resulted in me getting “A hostname with that name already exists.” messages; regardless of what hostname I entered…
A bit odd.
-
Apparently doing Full Inventory on ANY model is currently messed up since we upgraded from 1.2.0 to trunk last week…
Putting the “pci=noacpi mode=autoreg” in Boot Options allows me to get these into the inventory. How do I set the kernel argument automatically to pci=noacpi?
-
@Avaryan you can enable this to all hosts by globally setting “FOG configuration->fog settings->FOG_KERNEL_ARGS”. add you pci argument there and it should work to anybody that boots.
-
#wiki worthy
-
I feel I should add, full inventory is already it’s own tasking type. So long as the host is registered, you can task it like any other task by going to Basic Tasks from the element’s sub menu (element being Host or Group). Click on Advanced Tasks. Click on Inventory task.
OR
If you deploy the image to a host, it will automatically perform a full inventory every time.
-
@Tom-Elliott said in Full Inventory with Kernel Options?:
I feel I should add, full inventory is already it’s own tasking type. So long as the host is registered, you can task it like any other task by going to Basic Tasks from the element’s sub menu (element being Host or Group). Click on Advanced Tasks. Click on Inventory task.
OR
If you deploy the image to a host, it will automatically perform a full inventory every time.
The reason that I like the Full Inventory option rather than Quick is because I can type the desired hostname in as I’m registering PC’s.
-
@Avaryan What I’m saying is the “Quick Inventory” happens to every system after they’ve been registered. The inventory process itself is identical regardless of what is performing the inventory.
Full Registration already performs a Full inventory though. So I don’t understand what you’re asking for.
-
@Tom-Elliott said in Full Inventory with Kernel Options?:
@Avaryan What I’m saying is the “Quick Inventory” happens to every system after they’ve been registered. The inventory process itself is identical regardless of what is performing the inventory.
Full Registration already performs a Full inventory though. So I don’t understand what you’re asking for.
I just wanted the option to create a custom menu item that was identical to the full registration option, but also added in the ‘pci=noacpi’ under kernel arguments for the registered device.
That’s what I originally came for, but I don’t really need it now (I’ve already registered most of my new devices). I already created a menu option to use that pci setting as a boot option, allowing me to inventory and then go back in and manually change the kernel argument. I wasn’t able to do full registration because of some other issue… which I’m currently researching/possibly making a thread about.I’ve marked this as solved, but I’m still curious if I can set the kernel arguments automatically like this.
-
@Avaryan You can globally define pci=noacpi.
To my knowledge, this setting just disables the power control of the devices on the systems, so it shouldn’t impact (in a degrading way) any systems to have it set globally. Sure you can create a new menu, but it shouldn’t be necessary.
-
Another tidbit of information I don’t know where to put in the wiki.
I think I should create a new article just on common FOG kernel arguments.