Commit b072ae17 authored by Mohammed Ismail's avatar Mohammed Ismail

indentation issue

parent f6f02181
......@@ -114,10 +114,10 @@ class Containerize():
mySSH = SSH.SSHConnection()
mySSH.open(lIpAddr, lUserName, lPassWord)
# Checking the hostname to get adapted on cli and dockerfileprefixes
# Checking the hostname to get adapted on cli and dockerfileprefixes
mySSH.command('hostname', '\$', 5)
self.host = re.search('obelix|asterix', mySSH.getBefore())
if self.host == 'obelix':
self.host = re.search('obelix|asterix', mySSH.getBefore())
if self.host == 'obelix':
self.cli = 'docker'
self.dockerfileprefix = '.ubuntu18'
elif self.host == 'asterix':
......@@ -144,9 +144,9 @@ class Containerize():
if len(imageNames) == 0:
imageNames.append(('oai-enb', 'eNB'))
elif self.host == 'asterix':
result = re.search('eNB', self.imageKind)
result = re.search('eNB', self.imageKind)
# Creating a tupple with the imageName and the DockerFile prefix pattern on asterix
if result is not None:
if result is not None:
imageNames.append(('localhost/oai-enb', 'eNB'))
else:
result = re.search('gNB', self.imageKind)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment