[smartos-discuss] 答复: [smartos-discuss] [smartos-discuss] Why zoneinit restart the virtual machine when create a virtual machine

2016-09-29 Thread 杨武
hi, filip I have opened an issue at https://github.com/joyent/zoneinit/issues/3. thanks! [https://avatars3.githubusercontent.com/u/22534598?v=3=400] remove the automatic restart by zonenint ・ Issue #3 ・

[smartos-discuss] SmartOS release-20160929

2016-09-29 Thread Trent Mick
Hello All, The latest bi-weekly "release" branch build of SmartOS is up: curl -C - -O https://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos-latest.iso curl -C - -O https://us-east.manta.joyent.com/Joyent_Dev/public/SmartOS/smartos-latest-USB.img.bz2 curl -C - -O

Re: [smartos-discuss] how to block init 6 on global zone

2016-09-29 Thread Youzhong Yang
In smartos-live/overlay/generic/lib/svc/method/fs-joyent, if you add + if [[ -d /usbkey/crud ]]; then + (cd /usbkey/crud;find . -type f -print|xargs -i sh -c 'cd /;mkdir -p `dirname "{}"`;touch "{}";mount -F lofs /usbkey/crud/"{}" "{}"') + fi then all files under /usbkey/crud will be lofs mouted

[smartos-discuss] GZ and /zones/swap

2016-09-29 Thread Len Weincier
Hi We have some new hosts with 1.5T memory and this causes a zones/swap of 1.5T to be created. Is this necessary in the GZ ? Each VM gets its own swap so just not sure what would be running in the GZ that would end u using that swap ? Thanks Len ---

[smartos-discuss] ubuntu-certified-16.04 20160922 KVM image now available

2016-09-29 Thread Christopher Horrell
Hi everyone, The ubuntu-certified-16.04 20160922 KVM image is now available in https://images.joyent.com and the Joyent Public Cloud. ubuntu-certified-16.04 20160922 c98c51f7-edf4-46f0-b592-6814ce56ae37 Documentation and release notes can be found here:

Re: [smartos-discuss] how to block init 6 on global zone

2016-09-29 Thread Rob Seastrom
> On Sep 29, 2016, at 8:41 AM, Jonathan Perkin wrote: > > * On 2016-09-29 at 13:29 BST, Rob Seastrom wrote: > >> Of course, now you have a problem: since you put the alias in >> ~root/.bashrc, it will be gone after you reboot, because the SmartOS global >> zone is

Re: [smartos-discuss] how to block init 6 on global zone

2016-09-29 Thread Jonathan Perkin
* On 2016-09-29 at 14:33 BST, Jorge Schrauwen wrote: > Something like this would be really nice to have upstream, > > [ -d /usbkey/root ] && mount -O -F lofs /usbkey/root /root > > Or whatever in the local-fs service? Is it worth opening a issue for this, > or a PR even? Yeh, I've wondered

Re: [smartos-discuss] how to block init 6 on global zone

2016-09-29 Thread Jorge Schrauwen
Something like this would be really nice to have upstream, [ -d /usbkey/root ] && mount -O -F lofs /usbkey/root /root Or whatever in the local-fs service? Is it worth opening a issue for this, or a PR even? Regards Jorge On 2016-09-29 14:41, Jonathan Perkin wrote: * On 2016-09-29 at

Re: [smartos-discuss] [smartos-discuss] Why zoneinit restart the virtual machine when create a virtual machine

2016-09-29 Thread Filip Hajny
> 27. 9. 2016 v 3:17, 杨武 : > >In order to shorten the time to create a virtual machine,If I remove the > automatic restart by zonenint, >will it have a serious impact ? I just had to try it to remind myself of the delicacies. If you disable the reboot zoneinit bit,

RE: [smartos-discuss] Re-occurrence of bug 3917

2016-09-29 Thread Dr. Angelo Roussos
Hi Brian, Any feedback on this? Not sure if you've had a chance to look? Kind regards, Angelo. From: Brian Bennett [mailto:brian.benn...@joyent.com] Sent: Tuesday, 20 September 2016 20:21 To: smartos-discuss@lists.smartos.org Subject: Re: [smartos-discuss] Re-occurrence of bug

Re: [smartos-discuss] how to block init 6 on global zone

2016-09-29 Thread Jonathan Perkin
* On 2016-09-29 at 13:29 BST, Rob Seastrom wrote: > Of course, now you have a problem: since you put the alias in ~root/.bashrc, > it will be gone after you reboot, because the SmartOS global zone is volatile > (filesystem is run from ram). So what you need is an SMF service to copy > files

Re: [smartos-discuss] how to block init 6 on global zone

2016-09-29 Thread Rob Seastrom
> On Sep 29, 2016, at 7:02 AM, the outsider wrote: > > It would be nice to have shutdown and/or reboot functions on the global zone > protected with a yes/no option. > > It is just something to make the system fool proof, where sender considers > himself foolish >

Adding drivers to SmartOS global zone via /opt/custom? / was: Re: [smartos-discuss] VirtualBox in a native zone or: Best way of adding drivers to native zones

2016-09-29 Thread Peter Kelm
Ian, Thanks for your message. I found multiple reports of running VirtualBox in a non-global zone on Solaris. Most of these referred to old(er) VirtualBox versions, so I’m not sure myself where things stand today. BTW: No need for a tarball version - SmartOS pkgtrans can break up the IPS

[smartos-discuss] how to block init 6 on global zone

2016-09-29 Thread the outsider
It would be nice to have shutdown and/or reboot functions on the global zone protected with a yes/no option. It is just something to make the system fool proof, where sender considers himself foolish Yesterday I needed to reboot a couple of zones but before that I needed to shutdown some