[OmniOS-discuss] Ang: Re: CoreOS

Jorge Schrauwen sjorge+ml at blackdot.be
Thu Dec 18 17:06:17 UTC 2014



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 <sjorge+ml at blackdot.be> skrev: -----
> Till: Johan Kragsterman <johan.kragsterman at capvert.se>
> Från: Jorge Schrauwen <sjorge+ml at blackdot.be>
> Datum: 2014-12-18 17:38
> Kopia: omnios-discuss at lists.omniti.com
> Ä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
>> OmniOS-discuss at lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss


More information about the OmniOS-discuss mailing list