This repository was archived by the owner on Jul 18, 2023. It is now read-only.
This repository was archived by the owner on Jul 18, 2023. It is now read-only.
add --force option to installer job to allow re-installation on existing systems. #318
Open
Description
If you have satellite currently installed and wants to re-install you can do manually using:
$ katello-remove
$ yum install -y satellite
and then this long command
$ satellite-installer --scenario satellite -v --foreman-proxy-tftp-servername="FQDN" --foreman-proxy-tftp="true" --foreman-proxy-dns-zone="FQDN" --katello-proxy-password="secret" --katello-proxy-port="3128" --katello-proxy-url="FQDN" --foreman-proxy-dhcp="true" --foreman-proxy-dns="true" --foreman-proxy-register-in-foreman="true" --foreman-admin-password="changeme" --capsule-puppet="true" --foreman-proxy-puppetca="true" --foreman-proxy-dns-interface="virbr1" --foreman-proxy-dhcp-interface="virbr1" --katello-proxy-username="admin" --foreman-proxy-dns-forwarders="IPADDRESS" --foreman-proxy-dns-forwarders="IPADDRESS" --foreman-proxy-dns-forwarders="IPADDRESS" --foreman-proxy-dns-forwarders="IPADDRESS"
Because of the long command above, using satellite6 installer job on jenkins is useful, but it is currently failing because it misses --force option. (the error says you are trying to reinstall in existing system)
So we can have a new job: satellite6-reinstall or add REINSTALL boolean to the current install job and if true we add satellite-installer --scenario satellite --force .....
and the other needed steps.
Metadata
Metadata
Assignees
Labels
No labels