Capone not allowing multiple matching entries per DMI result



  • I’ve setup a new fog 1.5.5 on Ubuntu 18.04.1 and all is working great other than Capone will not associate more than one image with a given DMI result. When I add an association to a DMI result that already had one, only the new one is displayed and the old one is gone. I’ve tested this on the imaging side just to be sure, and changing the association only changes the image that is automatically deployed to the host.

    I used Capone extensively in the past and know it did accept multiple entries and confirmed as much on the wiki:

    https://wiki.fogproject.org/wiki/index.php?title=Plugins:_Capone

    “It is possible to have multiple matching entries per DMI result. So for example you could have to associations for response 112233. In this case, at the console on the client computer you will be prompted for which image you would like to use.”

    This is the behavior I’m used to and need to work again.

    How do I make this work again?

    Thank You!



  • Here are the screenshots your requested

    Screenshot from 2019-03-21 10-21-20.png

    Screenshot from 2019-03-21 10-23-22.png



  • I’m still around, sorry for my late reply as well!

    My problem is actually the opposite of your test and is in associating multiple images to one DMI value.

    For a given DMI value (motherboard model number) we have images for Win 7, 10, Home, Pro…etc.

    When I add an image association to a given DMI result, any pre-existing association is removed and the new one is the only one.

    I’ll test the database and give the outputs shortly.

    Thank You!


  • Senior Developer

    @SCavender Sorry for the late reply! Hope you are still around.

    I just tested adding more than one association pointing to the same image for different DMI values. Works like a charm. See the picture below.

    Can you please check the database to see if something is going wrong:

    shell> mysql -u root -p
    Password:
    ...
    mysql> use fog;
    ...
    mysql> SELECT * FROM capone;
    ...
    

    Now add another association and run the same SELECT again. Copy & paste the results before and after.

    Untitled.png


Log in to reply
 

306
Online

7.4k
Users

14.5k
Topics

136.6k
Posts