search for: os_major_version

Displaying 3 results from an estimated 3 matches for "os_major_version".

Did you mean: i_major_version
2009 Jul 21
1
[PATCH] Split $os->{version} into $os->{major_version} and $os->{minor_version}
...pm +++ b/perl/lib/Sys/Guestfs/Lib.pm @@ -489,10 +489,15 @@ The package format used by the guest distribution. One of: "rpm", "dpkg". The package management tool used by the guest distribution. One of: "rhn", "yum", "apt". -=item osversion +=item os_major_version (For root partitions only). -Operating system version. +Operating system major version number. + +=item os_minor_version + +(For root partitions only). +Operating system minor version number. =item fstab @@ -619,13 +624,15 @@ sub _check_linux_root my $r = shift; # Look into /etc...
2010 Jun 08
2
[PATCH 1/2] Target: Pass os description to create_guest
This will allow use of raw data from os description in addition to libvirt XML when writing guest output. --- lib/Sys/VirtV2V/Target/LibVirt.pm | 2 +- lib/Sys/VirtV2V/Target/RHEV.pm | 2 +- v2v/virt-v2v.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Sys/VirtV2V/Target/LibVirt.pm b/lib/Sys/VirtV2V/Target/LibVirt.pm index
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...5,13 @@ sub _check_linux_root if ($g->exists ("/etc/redhat-release")) { $r->{package_format} = "rpm"; - $_ = $g->cat ("/etc/redhat-release"); - if (/Fedora release (\d+)(?:\.(\d+))?/) { - $r->{osdistro} = "fedora"; - $r->{os_major_version} = "$1"; - $r->{os_minor_version} = "$2" if(defined($2)); - $r->{package_management} = "yum"; - } + $_ = $g->cat ("/etc/redhat-release"); + if (/Fedora release (\d+)(?:\.(\d+))?/) { + $r->{osdistro} = "fedora&...