import{a as e,i as t,t as n}from"./chunk-FK9Q3tQk.mjs";import{n as r,t as i}from"./esm-BbkJd7ro.mjs";import{t as a}from"./execAsync-DMx5TUjh.mjs";var o=n((n=>{Object.defineProperty(n,`__esModule`,{value:!0}),n.getMachineId=void 0;let o=t(`fs`),s=a(),c=(r(),e(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-CbGsKq4x.mjs.map