xcp-ng / host-installer_old

XCP-ng installer
16 stars 15 forks source link

#4 - Modifying install script to not overwrite the answerfile #10

Closed bdonnahue closed 5 years ago

bdonnahue commented 5 years ago

Modifying the Answerfile's fetch() function so that it will not overwrite the answerfile. This will allow the installation-start script to dynamically modify the answer file during the install process.

fetzerms commented 5 years ago

If we want the answer file to be kept/not overwritten, wouldn't it be the proper way to use answerfile_script (answerfile_generator) instead of answerfile_address? I do not think its a good idea to generally change the semantics of a fetch method, as its more a "fetch if not exists" than a simple fetch.

bdonnahue commented 5 years ago

@fetzerms the answerfile_generator is absolutely the right approach. I will add some detail to #4 as well as the parameters.txt file re. how it works.