Skip to content

Commit

Permalink
tests: remove workaround for ELN
Browse files Browse the repository at this point in the history
  • Loading branch information
KKoukiou committed Jan 23, 2025
1 parent fbfcd87 commit ff360c2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/machine_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ def start(self):
# kernel arguments to load the LiveOS/squashfs.img file as that's where everything is stored.
volume_id = self.get_volume_id(iso_path)
extra_args = f"root=live:CDLABEL={volume_id} rd.live.image quiet rhgb"
elif self.is_eln():
# FIXME: Remove this once https://gitlab.com/libosinfo/osinfo-db/-/merge_requests/674 is released
# and version is present in the task container
location = f"{iso_path},kernel=images/pxeboot/vmlinuz,initrd=images/pxeboot/initrd.img"
else:
location = f"{iso_path}"

Expand Down Expand Up @@ -215,8 +211,5 @@ def wait_poweroff(self):
def is_live(self):
return "live" in self.image

def is_eln(self):
return "eln" in self.image

def get_volume_id(self, iso_path):
return subprocess.check_output(fr"isoinfo -d -i {iso_path} | grep -oP 'Volume id: \K.*'", shell=True).decode(sys.stdout.encoding).strip()

0 comments on commit ff360c2

Please sign in to comment.