安裝
要求、安裝命令和第一步。每個指令碼的雜湊顯示在命令旁:執行前請核對。
需求
Linux x86-64
- TPM 2.0
- 使用者屬於 tss 群組,否則 ENR-005
- Secret Service:GNOME Keyring 或 KWallet,否則 REL-TUF-001
- git
登入需要任何裝置上的瀏覽器。macOS 和 ARM 不在第一次發行中。
安裝
核對雜湊後執行。安裝程式用短代碼登入你的帳戶,並安裝你的個人 weldctl 頭程式。
curl -fsSLO https://weld.naasson.com/install.sh
echo "a13585cea11c3d7ff5f2af0cd142821eb6d199200d3518a164e790ff720bd4f3 install.sh" | sha256sum -c -
WELDCTL_INSTALL_SHA256=a13585cea11c3d7ff5f2af0cd142821eb6d199200d3518a164e790ff720bd4f3 sh install.sh SHA-256 install.sha13585cea11c3d7ff5f2af0cd142821eb6d199200d3518a164e790ff720bd4f3
然後
<data-dir> 是裝置專案的新目錄,<device-name> 是裝置名稱,<grant-id> 來自 rights.json 或帳戶頁面。
更新頭程式。在啟用之前進行。
weldctl weldctl release update head upgrade --registry-url https://weld.naasson.com把權限儲存到檔案。
weldctl weldctl release update head rights --registry-url https://weld.naasson.com --out rights.json註冊裝置。佔用一個名額。
weldctl weldctl release update head enroll --root <data-dir> --rights rights.json --name <device-name>啟用裝置。
weldctl weldctl release update head activate --root <data-dir> --edition installer --owner-grant-id <grant-id>下載你的組合的主體。更新也透過同一命令取得。
weldctl weldctl release update body fetch-remote --registry-url https://weld.naasson.com --root <data-dir>