diff --git a/scripts/install_xcpng.py b/scripts/install_xcpng.py index 821b84e83..47a716f23 100755 --- a/scripts/install_xcpng.py +++ b/scripts/install_xcpng.py @@ -43,7 +43,7 @@ def generate_boot_conf(directory, installer, action): {rt} """) -def generate_answerfile(directory, installer, hostname_or_ip, target_hostname, action, hdd): +def generate_answerfile(directory, installer, hostname_or_ip, target_hostname, action, hdd, netinstall_gpg_check): pxe = pxe_address() password = host_data(hostname_or_ip)['password'] cmd = ['openssl', 'passwd', '-6', password] @@ -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""" - + fr {hdd} {hdd} @@ -72,7 +72,7 @@ def generate_answerfile(directory, installer, hostname_or_ip, target_hostname, a """) elif action == 'upgrade': answerfile.write(f""" - + {hdd} {installer}