SmartOS/live 1f30184src/vm/node_modules VM.js, src/vm/node_modules/cloudinit nocloud.js

Prevent creating duplicate disk during sdc-migrate

Rename the nocloud createVolume function to createPcFs
to better reflect what it actually does.

Co-Authored-By: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+14-14src/vm/tests/test-cloudinit-nocloud.js
+11-5src/vm/node_modules/VM.js
+2-2src/vm/node_modules/cloudinit/nocloud.js
+27-213 files

SmartOS/live 647782dsrc/vm/node_modules VM.js

Store hash of metadata used to create nocloud volume

The hash is used to prevent unecessarily regenerating the filesystem.
Also refactor the involved functions to avoid many nested callbacks.
DeltaFile
+106-80src/vm/node_modules/VM.js
+106-801 files

SmartOS/live 95ef465src/vm/node_modules VM.js

Reduce usage of vague CIDATA terminology
DeltaFile
+14-13src/vm/node_modules/VM.js
+14-131 files

SmartOS/live 4af0023src/vm/node_modules/cloudinit nocloud.js, src/vm/tests test-cloudinit-nocloud.js

Reuse ip.netmaskToBits instead of duplicating netmask conversion

The local netmaskToCidr in nocloud.js was redundant with
netmaskToBits already exported from ip.js. Remove the duplicate
and use the shared utility.

Co-Authored-By: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+0-24src/vm/tests/test-cloudinit-nocloud.js
+2-20src/vm/node_modules/cloudinit/nocloud.js
+2-442 files

SmartOS/live edb06dcsrc/vm/node_modules VM.js, src/vm/node_modules/cloudinit lofs-fat16.js

PR Feedback: Reduce indentation
DeltaFile
+88-86src/vm/node_modules/VM.js
+2-0src/vm/node_modules/cloudinit/lofs-fat16.js
+90-862 files

SmartOS/live 2aeb317src/vm/node_modules VM.js

No longer need createVolume at provision time.

We're now always regenerating the volume on VM start to
handle changes to metadata.
DeltaFile
+0-24src/vm/node_modules/VM.js
+0-241 files

SmartOS/live 6d7ebdcsrc/vm/node_modules VM.js, src/vm/node_modules/cloudinit lofs-fat16.js nocloud.js

Add support for vmadm update
DeltaFile
+449-0src/vm/tests/test-cloudinit-nocloud.js
+96-8src/vm/node_modules/VM.js
+9-4src/vm/node_modules/cloudinit/lofs-fat16.js
+3-1src/vm/node_modules/cloudinit/nocloud.js
+557-134 files

SmartOS/live eed46dcsrc piadm.sh

Merge branch 'master' into OS-8711
DeltaFile
+3-3src/piadm.sh
+3-31 files

SmartOS/live f60a236src/vm/node_modules/cloudinit nocloud.js, src/vm/tests test-cloudinit-nocloud.js

Fix duplicate default routes, add tests
DeltaFile
+882-0src/vm/tests/test-cloudinit-nocloud.js
+24-17src/vm/node_modules/cloudinit/nocloud.js
+906-172 files

SmartOS/live 82bd7adsrc/vm/node_modules/cloudinit nocloud.js, src/vm/tests test-cloudinit-nocloud.js

Fix duplicate default routes, add tests
DeltaFile
+882-0src/vm/tests/test-cloudinit-nocloud.js
+24-17src/vm/node_modules/cloudinit/nocloud.js
+906-172 files

SmartOS/live 781c096src piadm.sh

OS-8716 piadm : curl: (6) Could not resolve host: <timestamp>

Reviewed by: Dan McDonald <danmcd at edgecast.io>
Approved by: Dan McDonald <danmcd at edgecast.io>
Reviewed by: Nahum Shalman <nshalman at edgecast.io>
Approved by: Nahum Shalman <nshalman at edgecast.io>
DeltaFile
+3-3src/piadm.sh
+3-31 files

SmartOS/live d15c19csrc piadm.sh

OS-8716 piadm : curl: (6) Could not resolve host: <timestamp>
DeltaFile
+3-3src/piadm.sh
+3-31 files

SmartOS/live d9fb126src/node-qlocker package-lock.json

Bump lodash from 4.17.15 to 4.17.23 in /src/node-qlocker

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.23)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support at github.com>
DeltaFile
+970-576src/node-qlocker/package-lock.json
+970-5761 files

SmartOS/live ff3cb7esrc/vm/node_modules/cloudinit lofs-fat16.js index.js

Add license header to new files
DeltaFile
+22-1src/vm/node_modules/cloudinit/lofs-fat16.js
+21-0src/vm/node_modules/cloudinit/index.js
+21-0src/vm/node_modules/cloudinit/nocloud.js
+64-13 files

SmartOS/live a974217src manifest

OS-8711 Add cloudinit module to live image manifest
DeltaFile
+4-0src/manifest
+4-01 files

SmartOS/live 86acb2csrc Makefile, src/vm/node_modules VM.js

OS-8711 Initial nocloud support
DeltaFile
+261-0src/vm/node_modules/cloudinit/nocloud.js
+242-0src/vm/node_modules/cloudinit/lofs-fat16.js
+97-1src/vm/node_modules/VM.js
+9-0src/vm/node_modules/cloudinit/index.js
+2-0src/Makefile
+611-15 files

SmartOS/live 5e564d5src/vm/sbin vmadmd.js

Add named constants and improve protocol validation

- Add CONSOLE_HANDSHAKE_TIMEOUT (5000ms) and CONSOLE_LOG_TRUNCATE_LEN (100)
  named constants to replace magic numbers
- Use stricter protocol validation: data.toString().trim() === 'OK'
  instead of indexOf('OK') === 0 for more robust handshake checking

The stricter validation prevents false positives if the response contains
"OK" as a substring of a different message.

Addresses PR review feedback from https://github.com/TritonDataCenter/smartos-live/pull/1159

Co-Authored-By: Claude Opus 4.5 <noreply at anthropic.com>
DeltaFile
+7-3src/vm/sbin/vmadmd.js
+7-31 files

SmartOS/live 5fe72d5src/node-qlocker package-lock.json package.json

Bump qs and tap in /src/node-qlocker

Removes [qs](https://github.com/ljharb/qs). It's no longer used after updating ancestor dependency [tap](https://github.com/tapjs/tapjs). These dependencies need to be updated together.


Removes `qs`

Updates `tap` from 12.7.0 to 21.5.0
- [Release notes](https://github.com/tapjs/tapjs/releases)
- [Commits](https://github.com/tapjs/tapjs/compare/v12.7.0...tap@21.5.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 
  dependency-type: indirect
- dependency-name: tap
  dependency-version: 21.5.0
  dependency-type: direct:development

    [2 lines not shown]
DeltaFile
+3,964-1,822src/node-qlocker/package-lock.json
+1-1src/node-qlocker/package.json
+3,965-1,8232 files

SmartOS/live 1788a86src sysinfo

TRITON-2520: Servers should not change UUID on reboot

Portions generated by: Claude <noreply at anthropic.com>
Reviewed by: Dan McDonald <danmcd at edgecast.io>
Reviewed by: Toomas Soome <tsoome at edgecast.io>
Approved by: Toomas Soome <tsoome at edgecast.io>
DeltaFile
+54-0src/sysinfo
+54-01 files

SmartOS/live 15682d4src sysinfo

only run get_or_store_uuid in global zone
DeltaFile
+3-1src/sysinfo
+3-11 files

SmartOS/live 37e5b0asrc sysinfo

use org.smartos:server_uuid instead of com.tritondatacenter:uuid
DeltaFile
+2-2src/sysinfo
+2-21 files

SmartOS/live 34dec75src sysinfo

clean up invalid data if that ever happens
DeltaFile
+24-14src/sysinfo
+24-141 files

SmartOS/live 5b5be90src sysinfo

update copyright
DeltaFile
+1-0src/sysinfo
+1-01 files

SmartOS/live a695ad1src sysinfo

use the var dataset instead of the root of the pool
DeltaFile
+5-5src/sysinfo
+5-51 files

SmartOS/live ef87b72src sysinfo

Allow an override to clean up an invalid value written to pool somehow
DeltaFile
+1-3src/sysinfo
+1-31 files

SmartOS/live 7f35c02src sysinfo

Only write out valid uuids to the pool
DeltaFile
+13-2src/sysinfo
+13-21 files

SmartOS/live b8d4052src sysinfo

TRITON-2520: Fix syntax error and indentation in get_or_store_uuid

- Add missing space before ]] in conditional test
- Fix indentation to use spaces consistently

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+4-4src/sysinfo
+4-41 files

SmartOS/live 350be86src sysinfo

TRITON-2520: Servers should not change UUID on reboot
DeltaFile
+32-0src/sysinfo
+32-01 files

SmartOS/live 2552526src/node-qlocker package-lock.json

Bump js-yaml from 3.13.1 to 3.14.2 in /src/node-qlocker

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.13.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support at github.com>
DeltaFile
+969-575src/node-qlocker/package-lock.json
+969-5751 files

SmartOS/live bf2edfasrc/node-qlocker package-lock.json package.json

Bump js-yaml and tap in /src/node-qlocker

Removes [js-yaml](https://github.com/nodeca/js-yaml). It's no longer used after updating ancestor dependency [tap](https://github.com/tapjs/tapjs). These dependencies need to be updated together.


Removes `js-yaml`

Updates `tap` from 12.7.0 to 21.1.3
- [Release notes](https://github.com/tapjs/tapjs/releases)
- [Commits](https://github.com/tapjs/tapjs/compare/v12.7.0...tap@21.1.3)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 
  dependency-type: indirect
- dependency-name: tap
  dependency-version: 21.1.3
  dependency-type: direct:development

    [2 lines not shown]
DeltaFile
+4,000-1,829src/node-qlocker/package-lock.json
+1-1src/node-qlocker/package.json
+4,001-1,8302 files