Skip to content

Commit

Permalink
Ignore GPG check for install or upgrade in the script
Browse files Browse the repository at this point in the history
As a temporary fix, we added an option to the script
install_xcpng.py to ignore the gpg check in the install and upgrade
mode. It will last until we have a signed netinstall iso to create the
repo on the PXE.

Signed-off-by: Gael Duperrey <[email protected]>
  • Loading branch information
gduperrey committed Sep 12, 2023
1 parent 930885e commit a4001cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install_xcpng.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def generate_answerfile(directory, installer, hostname_or_ip, target_hostname, a
with open(f'{directory}/answerfile.xml', 'w') as answerfile:
if action == 'install':
answerfile.write(f"""<?xml version="1.0"?>
<installation>
<installation netinstall-gpg-check="false">
<keymap>fr</keymap>
<primary-disk>{hdd}</primary-disk>
<guest-disk>{hdd}</guest-disk>
Expand All @@ -72,7 +72,7 @@ def generate_answerfile(directory, installer, hostname_or_ip, target_hostname, a
""")
elif action == 'upgrade':
answerfile.write(f"""<?xml version="1.0"?>
<installation mode="upgrade">
<installation mode="upgrade" netinstall-gpg-check="false">
<existing-installation>{hdd}</existing-installation>
<source type="url">{installer}</source>
<script stage="filesystem-populated" type="url">
Expand Down

0 comments on commit a4001cd

Please sign in to comment.