This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@buckets-demo0-smartos ~]# snoop -s 2000 -x0 port 2030 and host 10.0.1.126 | |
| ... | |
| 10.0.1.121 -> 10.0.1.126 TCP D=2030 S=51053 Push Ack=2602692671 Seq=2794042055 Len=162 Win=32806 Options=<nop,nop,tstamp 4082404748 4082401418> | |
| 0: 72f3 9f46 9a9a 22be 2d81 be9a 0800 4500 r..F..".-.....E. | |
| 16: 00d6 77b0 4000 4006 0000 0a00 0179 0a00 ..w.@.@......y.. | |
| 32: 017e c76d 07ee a689 b2c7 9b21 f03f 8018 .~.m.......!.?.. | |
| 48: 8026 17bf 0000 0101 080a f354 8d8c f354 .&.........T...T | |
| 64: 808a 0101 0100 0000 2800 00f7 7c00 0000 ........(...|... | |
| 80: 937b 226d 223a 7b22 7574 7322 3a31 3535 .{"m":{"uts":155 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var vasync = require('vasync'); | |
| var boray = require('boray'); | |
| var bunyan = require('bunyan'); | |
| var log = bunyan.createLogger({ | |
| name: 'dave', | |
| level: 'debug', | |
| }); | |
| var borayHost = '10.0.1.126'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var vasync = require('vasync'); | |
| var boray = require('boray'); | |
| var bunyan = require('bunyan'); | |
| var log = bunyan.createLogger({ | |
| name: 'dave', | |
| level: 'debug', | |
| }); | |
| var client = new boray.Client({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0'?> | |
| <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> | |
| <service_bundle type='manifest' name='export'> | |
| <service name='application/mosquitto' type='service' version='0'> | |
| <create_default_instance enabled='true'/> | |
| <dependency name='dep0' grouping='require_all' restart_on='error' type='service'> | |
| <service_fmri value='svc:/milestone/multi-user:default'/> | |
| </dependency> | |
| <exec_method name='start' type='method' exec='mosquitto -c /opt/local/etc/mosquitto/mosquitto.conf &' timeout_seconds='10'> | |
| <method_context working_directory='/var/empty'> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "alias": "hass", | |
| "brand": "lx", | |
| "autoboot": true, | |
| "quota": 20, | |
| "delegate_dataset": true, | |
| "kernel_version": "4.3.0", | |
| "image_uuid": "7b5981c4-1889-11e7-b4c5-3f3bdfc9b88b", | |
| "max_physical_memory": 1024, | |
| "nics": [ |
Installation process on a vanilla SmartOS hypervisor. Based off of this gist.
I created all of the zones JSON files in /zones/zonecfg:
mkdir /zones/zonecfg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/vm/node_modules/zoneevent.js b/src/vm/node_modules/zoneevent.js | |
| index 16742cb..b221007 100644 | |
| --- a/src/vm/node_modules/zoneevent.js | |
| +++ b/src/vm/node_modules/zoneevent.js | |
| @@ -117,6 +117,9 @@ ZoneEvent.prototype._handleVmadmEvent = function _handleVmadmEvent(ev) { | |
| switch (ev.type) { | |
| case 'create': | |
| + assert.object(ev.vm, 'ev.vm'); | |
| + assert.string(ev.vm.zone_state, 'ev.vm.zone_state'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| /home/dave/joyent/smartos-live/projects/illumos/usr/src/boot/sys/boot/i386/btx/btxldr | |
| build.rapture.com --> Job output | |
| /home/dave/joyent/smartos-live/projects/illumos/usr/src/boot/sys/boot/i386/btx/lib | |
| /home/dave/joyent/smartos-live/projects/illumos/usr/src/boot/sys/boot/i386/cdboot | |
| /home/dave/joyent/smartos-live/projects/illumos/usr/src/boot/sys/boot/i386/gptzfsboot | |
| /home/dave/joyent/smartos-live/projects/illumos/usr/src/boot/sys/boot/i386/libi386 | |
| /home/dave/joyent/smartos-live/projects/illumos/usr/src/boot/sys/boot/i386/loader | |
| /home/dave/joyent/smartos-live/proto.strap/usr/gnu/bin/gld -static -Ttext 0x0 -nostdlib -o loader.sym /home/dave/joyent/sma | |
| rtos-live/projects/illumos/usr/src/boot/sys/boot/i386/btx/lib/crt0.o main.o conf.o vers.o chain.o boot.o commands.o console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/overlay/generic/usr/lib/brand/jcommon/cinstall | |
| +++ b/overlay/generic/usr/lib/brand/jcommon/cinstall | |
| @@ -19,7 +19,7 @@ | |
| # | |
| # CDDL HEADER END | |
| # | |
| -# Copyright (c) 2016, Joyent, Inc. All rights reserved. | |
| +# Copyright (c) 2018, Joyent, Inc. | |
| # Use is subject to license terms. | |
| # |