Displaying 20 results from an estimated 68 matches for "osversion".
Did you mean:
os_version
2018 Nov 06
1
[PATCH] p2v: make-disk: rely on os-release for host distro detection
...make-disk.in | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/p2v/virt-p2v-make-disk.in b/p2v/virt-p2v-make-disk.in
index bdf7fd96e..ee65716f2 100644
--- a/p2v/virt-p2v-make-disk.in
+++ b/p2v/virt-p2v-make-disk.in
@@ -122,12 +122,8 @@ if [ $# -eq 1 ]; then
else
# If osversion was not set, then we must guess a good value
# based on the host distro.
- if test -f /etc/redhat-release; then
- osversion="$(virt-builder -l | sort |
- @AWK@ '/^fedora-[1-9]/ {print $1}' | tail -1)"
- elif test -f /etc/debian_version; then...
2009 Jul 21
1
[PATCH] Split $os->{version} into $os->{major_version} and $os->{minor_version}
.../Sys/Guestfs/Lib.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;...
2009 Jul 16
1
[PATCH] Differentiate 'distro' and 'distrofamily' in Sys::Guestfs::Lib
...+Operating system distribution. One of: "fedora", "rhel", "centos",
+"scientific", "debian".
+
+=item osdistrofamily
+
+(For Linux root partitions only)
+Operating system distribution family. One of: "redhat", "debian".
=item osversion
@@ -609,20 +614,47 @@ sub _check_linux_root
# Look into /etc to see if we recognise the operating system.
if ($g->is_file ("/etc/redhat-release")) {
+ $r->{osdistrofamily} = "redhat";
+
$_ = $g->cat ("/etc/redhat-release");
if (/Fedora...
2009 Jul 16
1
[REPOST] Differentiate 'distro' and 'distrofamily' in Sys::Guestfs::Lib
I was slightly too quick off the marks with the first patch. This updated patch
modifies all of virt-inspector's output types to take account of distrofamily.
2009 Jul 20
1
[PATCH] Replace 'distrofamily' with feature tags
...ian".
+The package format used by the guest distribution. One of: "rpm", "dpkg".
+
+=item package_management
+
+(For Linux root partitions only)
+The package management tool used by the guest distribution. One of: "rhn",
+"yum", "apt".
=item osversion
@@ -614,12 +620,13 @@ sub _check_linux_root
# Look into /etc to see if we recognise the operating system.
if ($g->is_file ("/etc/redhat-release")) {
- $r->{osdistrofamily} = "redhat";
+ $r->{package_format} = "rpm";
$_ = $g->...
1998 Aug 31
0
isolating R/S and operating system differences
...Sv, 1,1),
minor = substring(Sv, lv,lv))
}
else
{r <- version
r$minor <- as.numeric(r$minor)
r$major <- as.numeric(r$major)
}
if (is.Splus()) r$language <- "Splus"
else if (is.Svanilla()) r$language <- "S"
r$OSversion <- OSversion()
r$OStype <- OStype()
r
}
###########################################################
# 1/ Functions are for identifying S or R and flavours.
###########################################################
#Note It is tempting to use system.info as defined above,...
2011 Jul 22
0
[PATCH 1/1] Staging: hv: util: kvp: Fix the reported OSVersion string
The current win7 host does not like it when we return the
complete kernel release information. Conform to what the host
expects.
Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
---
drivers/staging/hv/tools/hv_kvp_daemon.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git
2011 Jul 22
0
[PATCH 1/1] Staging: hv: util: kvp: Fix the reported OSVersion string
The current win7 host does not like it when we return the
complete kernel release information. Conform to what the host
expects.
Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
---
drivers/staging/hv/tools/hv_kvp_daemon.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git
2016 Apr 20
4
Ubuntu 14.04 samba update
...echo Enter a Machine Name
read machine
echo $machine > /etc/hostname
hostname `cat /etc/hostname`
echo Enter a Domain Admin Account ex:Administrator
read admin
OSNAME="`lsb_release -a|grep "^Distributor ID:"|cut -d: -f2|awk '{print
$1}'` joined `date "+%F"`"
OSVERSION="`lsb_release -a|grep "^Release:"|cut -d: -f2|awk '{print $1}'`"
net ads join -U $admin osName="${OSNAME}" osVersion="${OSVERSION}"
Here is my script to leave the domain. I call it net_leave.sh
read admin
net ads leave -U $admin
Here is my script t...
2020 Mar 31
1
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
...chunk for detecting Fedora (sessionInfo()$running?)
> let alone Fedora >= 30;
Yes, sessionInfo()$running is sufficient for both *and*
there's a faster way in latest R versions, as I had the same
need and found sessionInfo() should be modularized here, and so
we have the 'osVersion' variable since R 3.6.0
----------------------------------------
> osVersion
[1] "Fedora 30 (Thirty)"
> find("osVersion")
[1] "package:utils"
>
----------------------------------------
{it is put into utils at package load time}
> what to set...
1997 Nov 04
0
R-alpha: compatibility functions
...Sv, 1,1),
minor = substring(Sv, lv,lv))
}
else
{r <- version
r$minor <- as.numeric(r$minor)
r$major <- as.numeric(r$major)
}
if (is.Splus()) r$language <- "Splus"
else if (is.Svanilla()) r$language <- "S"
r$OSversion <- OSversion()
r$OStype <- machine()
r
}
###########################################################
# 1/ Functions are for identifying S or R and flavours.
###########################################################
#Note It is tempting to use system.info as defined above, b...
2003 Sep 08
1
ports/55928: vmware2 broken on -STABLE, presumably by PAE import
...n=000000 already tracked
Sep 8 10:07:58 noname last message repeated 4 times
Oh, and FreeBSD gets unstable with these patches of yours. I've seen
several hard hangs.
I cleaned up the patch to be relative to the current port (patch
attached). I'm applying your patch (pmap.patch-stable) if OSVERSION is
less than 500000, and higher or equal to 480101 (which was used at the
time of the PAE MFC).
For those on the Cc: list, I added you because you committed PAE/pmap
things, are on the -stable list or maintain the vmware2 port. :)
Any tips or improvements to the patch to make VmWare2 work in Free...
2016 Apr 20
0
Ubuntu 14.04 samba update
...ine
> echo $machine > /etc/hostname
> hostname `cat /etc/hostname`
> echo Enter a Domain Admin Account ex:Administrator
> read admin
> OSNAME="`lsb_release -a|grep "^Distributor ID:"|cut -d: -f2|awk '{print
> $1}'` joined `date "+%F"`"
> OSVERSION="`lsb_release -a|grep "^Release:"|cut -d: -f2|awk '{print $1}'`"
> net ads join -U $admin osName="${OSNAME}" osVersion="${OSVERSION}"
>
> Here is my script to leave the domain. I call it net_leave.sh
>
> read admin
> net ads leave -U...
2006 Apr 04
1
Have the expanded rcorder behaviour merged to RELENG_5?
Hello,
I saw in the Porters Handbook this OSVERSION macro:
6.0-STABLE after incorporating scripts from the local_startup
directories into the base rcorder(8)
<http://www.FreeBSD.org/cgi/man.cgi?query=rcorder&sektion=8>. 600101
I think that change has been merged to the RELENG_5 branch but I1m not
sure. If so, could somebody tell me wh...
2010 Feb 11
2
Errors running BiblePro and BibleStudyPro on today's Git
All:
I get the following error when attempting to start these programs which
rely on .NET 2.0:
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize
Unhandled Exception: System.InvalidOperationException: OSVersion's call
to GetVersionEx failed.
at System.Environment.get_OSVersion()
at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
at System.String.Compare(String strA, Int32 indexA, String strB,
Int32 indexB, Int3...
2016 Apr 20
1
Ubuntu 14.04 samba update
...gt; /etc/hostname
>> hostname `cat /etc/hostname`
>> echo Enter a Domain Admin Account ex:Administrator
>> read admin
>> OSNAME="`lsb_release -a|grep "^Distributor ID:"|cut -d: -f2|awk '{print
>> $1}'` joined `date "+%F"`"
>> OSVERSION="`lsb_release -a|grep "^Release:"|cut -d: -f2|awk '{print $1}'`"
>> net ads join -U $admin osName="${OSNAME}" osVersion="${OSVERSION}"
>>
>> Here is my script to leave the domain. I call it net_leave.sh
>>
>> read admin
&...
2015 May 06
3
[PATCH 0/3] p2v: Add Configure Network button (RHBZ#1167921).
https://bugzilla.redhat.com/show_bug.cgi?id=1167921
2017 Mar 17
5
[PATCH 0/4] p2v: fix virt-p2v-make-disk on Debian
Hi,
this small series fixes the generation of Debian-based images using
virt-p2v-make-disk. With this series, the image can boot fine, X is
started, and the p2v interface appears. I haven't tried an actual
conversion, but I don't think there are Debian-specific problems
preventing that.
Thanks,
Pino Toscano (4):
p2v: fix Gtk dependencies on Debian
p2v: remove
2005 Jul 15
1
CloneCD 5.2.6.1 in Wine-20050524: no luck... :(
Hi,
this is my first attempt to use Wine, so please
bear with me if i made any mistakes... :P
So far i installed Wine on a FreeBSD-5-STABLE (OSVERSION > 5.4),
and the port installation was smooth.
Then i downloaded SetupCloneCD5261.exe, run 'wine SetupCloneCD5261.exe',
and installed it in my homedir.
But whenever i try to launch clonecd i get this error:
[flag@longino ~]$ wine CloneCD/CloneCD.exe
err:heap:HEAP_CreateSystemHeap system...
2017 Mar 17
0
[PATCH 4/4] p2v: virt-p2v-make-disk: prevent daemons to run on Debian
...uot;
+ --upload $tmpdir/policy-rc.d:/usr/sbin/policy-rc.d
+ "
+ final_args="
+ --delete /usr/sbin/policy-rc.d
+ "
;;
archlinux-*)
depsfile="$datadir/dependencies.archlinux"
@@ -229,6 +242,7 @@ virt-builder "$osversion" \
$verbose_option \
--output "$output" \
$arch_option \
+ $preinstall_args \
--update...