hi,
On Do, 2016-09-08 at 17:30 +0200, Oliver Grawert wrote:
> hi,
> On Do, 2016-09-08 at 16:19 +0100, John Lenton wrote:
> > 
> > On 8 September 2016 at 15:14, Oliver Grawert <[email protected]>
> > wrote:
> > > 
> > > 
> > > though it might be tricky to detect
> > > from within kvm that you are running inside kvm and conditionally
> > > change the default message here
> > 
> > yeah, that'd need dmidecode which isn't in core. Its only 100k
> > though... ;-)
> 
> nah, you can have that cheaper apparently:
> 
> ogra@localhost:~$ grep "model name" /proc/cpuinfo
> model name    : QEMU Virtual CPU version 2.4.0
> 

it strikes me though that you can not really know the redirected ssh
port from inside the VM ...

ciao
        oli

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Ubuntu-devel-discuss mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to