Hi, Jorge and all!
I would be interested in discussing this further, but perhaps
omnios-discuss isn't the right place? Since I don't know if this is
omnios/illumos/coreos specific...
I did some experimenting:
I only used CoreOS stable in my tests.
I tried the iso, but the iso isn't full featured, and doesn't run
docker out of the box. And the docker implementation is of coarse what
everybody is interested in. I got it to boot without problems, but I
had big problems with VNC keymapping due to my Swedish keyboard and
perhaps my Swedish client computer. So I could actually never do
something with it, and since it is not full featured, it is not what I
want to use.
So instead, I downloaded the img file for qemu, created a volume, and
dd'ed the image to the volume, and then set this volume as boot. That
went fine, to get it to boot. But then, with the default boot option
in grub, it panicked, and restarted every 60 seconds.
I stopped the grub booting, and chosed the B option. That didn't
panic, but it didn't work either, it was too much that didn't work.
But option A went fine, no panic, and everything seem to work more or
less without problems. The only problem here seem to be that I can't
log in, due to the "first log in"-principles they seem to have: It is
only possible to log in via ssh, which means the network have to be
up, and I couldn't get the network to come up....so there I am right
now...
Regards Johan
-----Jorge Schrauwen <[email protected]> skrev: -----
Till: Johan Kragsterman <[email protected]>
Från: Jorge Schrauwen <[email protected]>
Datum: 2014-12-18 18:07
Kopia: [email protected]
Ärende: Re: Ang: Re: [OmniOS-discuss] CoreOS
On 2014-12-18 17:57, Johan Kragsterman wrote:
Jorge, I was thinking about you when I posted this! I thought you
would be a possible contributor to this thread... More furhter
down...
-----Jorge Schrauwen <[email protected]> skrev: -----
Till: Johan Kragsterman <[email protected]>
Från: Jorge Schrauwen <[email protected]>
Datum: 2014-12-18 17:38
Kopia: [email protected]
Ärende: Re: [OmniOS-discuss] CoreOS
Something like this will probably work:
/usr/bin/qemu-system-x86_64
-name coreos \
-enable-kvm \
-no-hpet \
-m 4096
-cpu Nehalem \
-smp sockets=1,cores=4,threads=2 \
-rtc base=utc,driftfix=slew \
-pidfile /tank/coreo/coreos.pid \
-monitor unix:/tank/coreo/coreos.monitor,server,nowait,nodelay \
-vga std \
-vnc :1 \
-nographic \
-drive
file=/tank/coreos/coreos.iso,if=ide,media=cdrom,index=0,cache=none \
-drive
file=/dev/zvol/rdsk/tank/coreos/disk0,if=virtio,media=disk,index=0,cache=none,boot=on
\
-boot order=cd,once=d \
-device
virtio-net-pci,mac=02:08:20:0c:04:d2,tx=timer,x-txtimer=200000,x-txburst=128,vlan=0
\
-net vnic,vlan=0,name=net1,ifname=vcoreos0 \
-chardev
socket,id=serial0,path=/tank/coreos/coreos.console,server,nowait \
-serial chardev:serial0 \
-usb \
-usbdevice tablet \
-daemonize
You should get vnc at port 5901, seemed to boot for me but I did not
complete the install.
At the CoreOS site they say: Start like this:
./coreos_production_qemu.sh -nographic
and they pass on that string -nographic ...?
It makes me wonder, because they tell you to connect with the instans
only over ssh with: ssh -l core -p 2222 localhost ...
So I'm not sure if it is possible to connect via VNC...did you
actually check VNC, to confirm you had a VNC connection?
It should boot and run from the image r/o, so perhaps you just need
one "disk"? I can see you got two configured, or at least the iso
file, and then a disk. Don't you think it would be enough with just
the image file?
Perhaps I just try...
I used the install iso to see if it booted.
-nographic just mean don't spawn a graphical console AKA SDL or simular
window. It does not prevent '-vnc :1' from working.
Regards
Jorge
On 2014-12-18 16:57, Johan Kragsterman wrote:
Hi!
I've been looking at CoreOS and finds it interesting! Since I'd like
to have OmniOS as the platform, I need to run CoreOS as a KVM guest.
Haven't tested yet, but I downloaded the startscript for qemu, and it
looks a little bit "too much" for Illumos KVM...
It would be nice to get some views on people that have been
considering this as well, perhaps some already tested or already
running...?
I've seen that Frederic Alix on this list been blogging about it,
but
haven't seen if he managed to run it as a KVM guest on OmniOS.
For me it seems to be some complications at first startup, mainly.
It
doesn't seem to be reachable by VNC...
Hope to get some input from you guys...
Best regards from/Med vänliga hälsningar från
Johan Kragsterman
Capvert
_______________________________________________
OmniOS-discuss mailing list
[email protected]
http://lists.omniti.com/mailman/listinfo/omnios-discuss