import{a as e,o as t,t as n}from"./chunk-C94x7I9S.mjs";import{n as r,t as i}from"./esm-BS2W3Uzl.mjs";import{t as a}from"./execAsync-Chx_LJuI.mjs";var o=n((n=>{Object.defineProperty(n,`__esModule`,{value:!0}),n.getMachineId=void 0;let o=e(`fs`),s=a(),c=(r(),t(i));async function l(){try{return(await o.promises.readFile(`/etc/hostid`,{encoding:`utf8`})).trim()}catch(e){c.diag.debug(`error reading machine id: ${e}`)}try{return(await(0,s.execAsync)(`kenv -q smbios.system.uuid`)).stdout.trim()}catch(e){c.diag.debug(`error reading machine id: ${e}`)}}n.getMachineId=l}));export default o();export{};
//# sourceMappingURL=getMachineId-bsd-B7ue3N1o.mjs.map