OpenSolaris – SMF and VirtualBox

So… i’m looking for a way to fire up some VirtualBox machines after a reboot on OpenSolaris. SMF is the key. Just need to create some XML docs that fire up a couple of headless vm’s.

Shouldn’t be too hard. Lets see what i can come up with.

Here is a good pdf about migrating Legacy RC services into SMF, which has given me a few pointers…. 

how to shutdown a vm;

VBoxManage controlvm Test poweroff

how to startup a vm;

VBoxHeadless -s Test -p 3389

Update: so i’ve decided to bypass SMF at this point, which seems to be a really good method of executing (and maintaining) services, but a bit more than what i was after to run Virtualbox on start-up. If you see my other post i have just modified the /etc/profile to auto start the virtual machines and i’ve set the box to autologon on boot.

The problems i had while executing VirtualBox as a service were due to the fact it seemed to require access to the main X11 console (yes – i was using VBoxHeadless). There were a few issues that were thrown up if i didn’t execute from a session. Never looked into this any further…

165 Replies to “OpenSolaris – SMF and VirtualBox”

  1. Hello There. I found your blog using msn. This is a really well written article. I’ll make sure to bookmark it and come back to read more of your useful info. Thanks for the post. I will certainly comeback.

  2. A person necessarily assist to make critically articles I’d state. That is the first time I frequented your website page and thus far? I amazed with the analysis you made to make this actual submit extraordinary. Fantastic task!

  3. you are truly a good webmaster. The web site loading velocity is amazing. It kind of feels that you’re doing any unique trick. Also, The contents are masterwork. you have performed a magnificent job in this topic!

  4. I’ve been absent for some time, but now I remember why I used to love this site. Thanks , I¡¦ll try and check back more frequently. How frequently you update your site?

  5. Hello, Neat post. There’s a problem with your web site in internet explorer, might test this¡K IE still is the market chief and a good element of other folks will pass over your excellent writing due to this problem.

  6. I do agree with all the ideas you have presented for your post. They’re really convincing and will definitely work. Nonetheless, the posts are too quick for beginners. Could you please lengthen them a bit from subsequent time? Thank you for the post.

  7. I’ve been surfing on-line greater than three hours today, yet I never discovered any interesting article like yours. It is beautiful price sufficient for me. Personally, if all webmasters and bloggers made good content material as you did, the internet will likely be a lot more useful than ever before.

  8. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with a few pics to drive the message home a bit, but other than that, this is fantastic blog. An excellent read. I will definitely be back.