Skip to content

Instantly share code, notes, and snippets.

@apahim
Created January 28, 2014 13:27
Show Gist options
  • Save apahim/8667576 to your computer and use it in GitHub Desktop.
Save apahim/8667576 to your computer and use it in GitHub Desktop.
[root@x220 ovirt-stuff]# ls /var/iso/
ovirt-node-iso-3.0.1-1.0.2.el6.iso rhevh-6.3-20120710.0.iso rhev-hypervisor6-6.4-20130221.0.iso
ovirt-node-iso-3.0.1-1.0.2.fc19.iso rhevh-6.5-20140112.0.el6ev.iso
rhevh-6.2-20111117.0.iso rhevh-6.5-20140121.0.el6ev.iso
[root@x220 ovirt-stuff]# python match_engine_vdsm_releasever.py /var/iso/ovirt-node-iso-3.0.1-1.0.2.el6.iso
mount: /dev/loop0 is write-protected, mounting read-only
SUCCESS!
FILENAME(engine probe) - version: 3.0.1, release: 1.0.2.el6
FYLESYSTEM(vdsm probe) - version: 3.0.1, release: 1.0.2.el6
[root@x220 ovirt-stuff]# python match_engine_vdsm_releasever.py /var/iso/ovirt-node-iso-3.0.1-1.0.2.fc19.iso
mount: /dev/loop0 is write-protected, mounting read-only
SUCCESS!
FILENAME(engine probe) - version: 3.0.1, release: 1.0.2.fc19
FYLESYSTEM(vdsm probe) - version: 3.0.1, release: 1.0.2.fc19
[root@x220 ovirt-stuff]# python match_engine_vdsm_releasever.py /var/iso/rhevh-6.2-20111117.0.iso
mount: /dev/loop0 is write-protected, mounting read-only
SUCCESS!
FILENAME(engine probe) - version: 6.2, release: 20111117.0
FYLESYSTEM(vdsm probe) - version: 6.2, release: 20111117.0
[root@x220 ovirt-stuff]# python match_engine_vdsm_releasever.py /var/iso/rhevh-6.3-20120710.0.iso
mount: /dev/loop0 is write-protected, mounting read-only
ERROR - RELEASE MISMATCH
FILENAME(engine probe) - release: 20120710.0
FYLESYSTEM(vdsm probe) - release: 20120710.0.el6_3
[root@x220 ovirt-stuff]# python match_engine_vdsm_releasever.py /var/iso/rhevh-6.5-20140112.0.el6ev.iso
mount: /dev/loop0 is write-protected, mounting read-only
ERROR - RELEASE MISMATCH
FILENAME(engine probe) - release: 20140112.0.el6ev
FYLESYSTEM(vdsm probe) - release: 20140112.0.el6
[root@x220 ovirt-stuff]# python match_engine_vdsm_releasever.py /var/iso/rhevh-6.5-20140121.0.el6ev.iso
mount: /dev/loop0 is write-protected, mounting read-only
SUCCESS!
FILENAME(engine probe) - version: 6.5, release: 20140121.0.el6ev
FYLESYSTEM(vdsm probe) - version: 6.5, release: 20140121.0.el6ev
[root@x220 ovirt-stuff]# python match_engine_vdsm_releasever.py /var/iso/rhev-hypervisor6-6.4-20130221.0.iso
mount: /dev/loop0 is write-protected, mounting read-only
ERROR - RELEASE MISMATCH
FILENAME(engine probe) - release: 20130221.0
FYLESYSTEM(vdsm probe) - release: 20130221.0.el6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment