Re: [CentOS] CentOS 7.2 installer missing virt-what

2015-12-24 Thread Chris Adams
Once upon a time, Johnny Hughes  said:
> On 12/23/2015 02:55 PM, Chris Adams wrote:
> > In previous CentOS releases, virt-what was included in the install
> > image.  This made it easy for me to spin a custom ISO with my package
> > set and a kickstart that would add open-vm-tools or ovirt-guest-agent as
> > appropriate (when installing the respective guest environments).
> > 
> > I updated my ISO to 7.2, and virt-what is nowhere to be found.  I assume
> > this is copied from RHEL; anybody know any explanation?
> > 
> > For now, I'm falling back to matching strings in
> > /sys/class/dmi/id/product_name.  Is there some better way to determine
> > what (if any) virtual environment the installer is running under?
> 
> Which ISO .. virt-what is on the Everything ISO and in the os/
> directory.. you can use that.

Again, I'm talking about the install image itself, not the package set.
Previously, I could run virt-what from %pre in a kickstart because the
executable was included in the installer runtime (LiveOS/squashfs.img),
but now it is not.

-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 installer missing virt-what

2015-12-24 Thread Johnny Hughes
On 12/23/2015 02:55 PM, Chris Adams wrote:
> In previous CentOS releases, virt-what was included in the install
> image.  This made it easy for me to spin a custom ISO with my package
> set and a kickstart that would add open-vm-tools or ovirt-guest-agent as
> appropriate (when installing the respective guest environments).
> 
> I updated my ISO to 7.2, and virt-what is nowhere to be found.  I assume
> this is copied from RHEL; anybody know any explanation?
> 
> For now, I'm falling back to matching strings in
> /sys/class/dmi/id/product_name.  Is there some better way to determine
> what (if any) virtual environment the installer is running under?
> 

Which ISO .. virt-what is on the Everything ISO and in the os/
directory.. you can use that.

Our DVD package list gets remastered to stay less than 4.3 GB, and we
want 'repo closure' and < 4.3 GB, and anything that can be selected from
the 'GUI Installer' for a normal install.

If you need things that fall outside those conditions, then an
Everything ISO on something bigger than 4.3 GB DVD(a thumbdrive, etc.)
is the way to go. There is only so much space on a DVD.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 installer missing virt-what

2015-12-23 Thread Chris Adams
Once upon a time, Louis Lagendijk  said:
> On Wed, 2015-12-23 at 13:55 -0600, Chris Adams wrote:
> > In previous CentOS releases, virt-what was included in the install
> > image.  This made it easy for me to spin a custom ISO with my package
> > set and a kickstart that would add open-vm-tools or ovirt-guest-agent 
> > as
> > appropriate (when installing the respective guest environments).
> > 
> > I updated my ISO to 7.2, and virt-what is nowhere to be found.  I
> > assume
> > this is copied from RHEL; anybody know any explanation?
> > 
> > For now, I'm falling back to matching strings in
> > /sys/class/dmi/id/product_name.  Is there some better way to
> > determine
> > what (if any) virtual environment the installer is running under?
> > 
> Just install package virt-what?

This is in the installer itself, specifically in the %pre section of a
kickstart file (to determine which packages to install).  You can't just
"yum install virt-what" there.

-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7.2 installer missing virt-what

2015-12-23 Thread Louis Lagendijk
On Wed, 2015-12-23 at 13:55 -0600, Chris Adams wrote:
> In previous CentOS releases, virt-what was included in the install
> image.  This made it easy for me to spin a custom ISO with my package
> set and a kickstart that would add open-vm-tools or ovirt-guest-agent 
> as
> appropriate (when installing the respective guest environments).
> 
> I updated my ISO to 7.2, and virt-what is nowhere to be found.  I
> assume
> this is copied from RHEL; anybody know any explanation?
> 
> For now, I'm falling back to matching strings in
> /sys/class/dmi/id/product_name.  Is there some better way to
> determine
> what (if any) virtual environment the installer is running under?
> 
Just install package virt-what?

# yum provides */virt-what
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * nux-dextop: li.nux.ro
virt-what-1.13-6.el7.x86_64 : Detect if we are running in a virtual
machine
Repo: base
Matched from:
Filename: /usr/sbin/virt-what



virt-what-1.13-6.el7.x86_64 : Detect if we are running in a virtual
machine
Repo: @cr
Matched from:
Filename: /usr/sbin/virt-what

BR, Louis

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 7.2 installer missing virt-what

2015-12-23 Thread Chris Adams
In previous CentOS releases, virt-what was included in the install
image.  This made it easy for me to spin a custom ISO with my package
set and a kickstart that would add open-vm-tools or ovirt-guest-agent as
appropriate (when installing the respective guest environments).

I updated my ISO to 7.2, and virt-what is nowhere to be found.  I assume
this is copied from RHEL; anybody know any explanation?

For now, I'm falling back to matching strings in
/sys/class/dmi/id/product_name.  Is there some better way to determine
what (if any) virtual environment the installer is running under?

-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos