Refactor inventory file and add encryption scripts

This commit is contained in:
2024-10-01 22:57:13 +02:00
parent 6d3d101bcc
commit ff523bd14b
4 changed files with 68 additions and 0 deletions
@@ -0,0 +1,5 @@
#!/bin/bash
uuid=$(cat /proc/cpuinfo | grep 'model name' | head -1)
uuid+=$(ip link show eth0 | grep ether | awk '{print $2}')
uuid+=$(sudo dmidecode -s system-uuid)
echo -n "$uuid" | md5sum | awk '{print $1}'