We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4156562 commit a0d120fCopy full SHA for a0d120f
robottelo/hosts.py
@@ -1714,12 +1714,14 @@ def get_features(self):
1714
1715
def capsule_setup(self, sat_host=None, capsule_cert_opts=None, **installer_kwargs):
1716
"""Prepare the host and run the capsule installer"""
1717
- self._satellite = sat_host or Satellite()
1718
1719
self.register_to_cdn()
1720
self.setup_rhel_repos()
1721
self.setup_capsule_repos()
1722
+ # After capsule registration to cdn, it should be initialized with the Satellite.
1723
+ self._satellite = sat_host or Satellite()
1724
+
1725
# Update system, firewall services and check capsule is already installed from template
1726
# Setups firewall on Capsule
1727
self.execute('dnf -y update', timeout=0)
0 commit comments