[Fwd: Ubuntu Core 16 beta images available]
Oliver Grawert
ogra at ubuntu.com
Thu Sep 8 15:35:52 UTC 2016
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 <ogra at ubuntu.com>
> > 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20160908/d86a12f4/attachment.sig>
More information about the Ubuntu-devel-discuss
mailing list