Refactor inventory file and add encryption scripts
This commit is contained in:
@@ -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}'
|
||||
Reference in New Issue
Block a user