XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    iso modification and gpg key check

    Scheduled Pinned Locked Moved Development
    2 Posts 1 Posters 9 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      Vagrantin
      last edited by

      Hi Everyone,

      I'm currently testing XCP-ng ISO modification. And i'm constently experiencing the gpg check failure
      02ecd07a-d9fe-43a7-b8de-3f6b0627bbef-image.jpeg

      I understand why this happen since I'm modifying one of the rpm and the ISO itself.
      What I puzzled is why the ignore gpg-check I'm passing to the installer are ignored.

      So first I have tried to pass in --no-gpg-check and --no-repo-gpgcheck to the boot
      ddb2b6c4-d104-4b01-ab89-9351c3eebe4f-image.jpeg
      But it seems not having effect

      I have also tried to put this in an answerfile :

      f106e6d2-2d86-4fff-8f19-a6d7da81e1da-image.jpeg

      And calling it at boot
      b7b674f7-e8a0-4c9e-83fe-66c10d247355-image.jpeg

      Unfortunately, in both case the gpg check seems to be triggered and as expected failing.

      Anyone, have any hint where could be my issue ? How can I disable gpg-check ?
      I'm guessing this is a syntax or config issue but can't find what it is..

      Thanks in advance for any help !

      V 1 Reply Last reply Reply Quote 0
      • V Offline
        Vagrantin @Vagrantin
        last edited by

        Ok just read the code and found my answer 😄

        It was a typo it is repo-gpgcheck not repo_gpgcheck

                    repo_gpgcheck = (None if getStrAttribute(i, ['repo-gpgcheck'], default=None) is None
                                     else getBoolAttribute(i, ['repo-gpgcheck']))
                    gpgcheck = (None if getStrAttribute(i, ['gpgcheck'], default=None) is None
                                else getBoolAttribute(i, ['gpgcheck']))
        
        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post