Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
doroved committed Mar 23, 2024
1 parent 839e98d commit c92aede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: hostnamectl status Machine ID
run: hostnamectl status | awk '/Machine ID:/ {print $3}'
- name: Trio get machine-id with new line
run: hostnamectl1 status | awk '/Machine ID:/ {print $3}'; cat /var/lib/dbus/machine-id1 || true; cat /etc/machine-id1 || true;
run: hostnamectl status | awk '/Machine ID:/ {print $3}'; cat /var/lib/dbus/machine-id || true; cat /etc/machine-id || true;
- name: Trio get machine-id with "|"
run: |
{ hostnamectl status | awk '/Machine ID:/ {printf $3"|"}'; cat /var/lib/dbus/machine-id 2>/dev/null; cat /etc/machine-id 2>/dev/null; } | paste -sd '|' | tr '|' '\n' | sort | uniq | tr '\n' '|'
Expand Down

0 comments on commit c92aede

Please sign in to comment.