diff --git a/genisys/config_parser.py b/genisys/config_parser.py index 0823cd9..313f59d 100644 --- a/genisys/config_parser.py +++ b/genisys/config_parser.py @@ -30,7 +30,7 @@ def get_section(self: Self, heading: str) -> dict: # If being run in a github runner environment, we need to get # the new network/IP values at run time. if 'GITHUB_RUNNER' in os.environ: - runner_ip = os.environ['RUNNER_IP'] + runner_ip = os.environ['RUNNER_IP'].split(' ')[0] # Assign IP of server dictionary['ip'] = str(IPv4Address(runner_ip) + 1) # Create (estimated) network/subnet value