获取机器指纹信息
上传centos7.zip
unzip centos7.zip
chmod +x lesdkauth-frgen
./lesdkauth-frgen
sz lesdk.gen
生成授权文件
进入项目目录下,(prejects/lenovo/authorization/deliveries/longmenjia/ningde)
# 1. Sentinel使用硬锁,授权数=1,时长:3650天
# 2. 生成授权文件
docker run -it --rm -v `pwd`:/app/cust hub.brain.lenovo.com/leauth/leauth-keygen:0.7.0
cat ./cust/keys4daemon.txt | ./lesdkauth-keygen ./cust/lesdk.gen rsakey.dec ./fingerprint/centos7/lesdkauth-frgen --autoedit